Update update-version.sh

Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
pull/128/head
Muhammad Atif Ali 1 year ago committed by GitHub
parent c84bc2da63
commit f18ee394aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -10,9 +10,7 @@ find . -name README.md | while read -r file; do
awk -v tag="$LATEST_TAG" '{
if ($1 == "version" && $2 == "=") {
sub(/"[^"]*"/, "\"" tag "\"")
print
} else {
print
}
print
}' "$file" > tmpfile && mv tmpfile "$file"
done
Loading…
Cancel
Save