This commit is contained in:
Sam Clegg
2021-05-04 15:25:01 -07:00
committed by GitHub
parent afecc765fb
commit 33ce2bdf2c
5 changed files with 13 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ VER=$(grep -oP '(?<=latest\": \")([\d\.]+)(?=\")' \
emscripten-releases-tags.txt \
| sed --expression "s/\./\\\./g")
# Based on the latest version number, get the commit hash for that version.
HASH=$(grep "${VER}" emscripten-releases-tags.txt \
HASH=$(grep "\"${VER}\"" emscripten-releases-tags.txt \
| grep -v latest \
| cut -f4 -d\")

View File

@@ -10,7 +10,7 @@ VER=$(ggrep -oP '(?<=latest\": \")([\d\.]+)(?=\")' \
emscripten-releases-tags.txt \
| sed "s/\./\\\./g")
# Based on the latest version number, get the commit hash for that version.
HASH=$(grep "${VER}" emscripten-releases-tags.txt \
HASH=$(grep "\"${VER}\"" emscripten-releases-tags.txt \
| grep -v latest \
| cut -f4 -d\")