Update bump_version

Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
This commit is contained in:
Joshua M. Boniface 2020-04-25 22:14:55 -04:00 committed by GitHub
parent 5ef81ab41e
commit fc8efaeab4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -38,7 +38,7 @@ old_version="$(
grep "version:" ${build_file} \
| sed -E 's/version: "([0-9\.]+[-a-z0-9]*)"/\1/'
)"
echo $old_version
echo "Old version in ${build_file}: $old_version`"
# Set the build.yaml version to the specified new_version
old_version_sed="$( sed 's/\./\\./g' <<<"${old_version}" )" # Escape the '.' chars