Fix grabbing existing version

The schema `version = ` now messes this up.
This commit is contained in:
Joshua Boniface 2021-06-14 01:40:10 -04:00
parent 78453a173c
commit 6fdc6674cf
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ if [[ -z ${new_version} ]]; then
exit 1 exit 1
fi fi
current_version="$( grep 'version = ' node-daemon/pvcnoded/Daemon.py | awk -F "'" '{ print $2 }' )" current_version="$( grep '^version = ' node-daemon/pvcnoded/Daemon.py | awk -F "'" '{ print $2 }' )"
echo "${current_version} -> ${new_version}" echo "${current_version} -> ${new_version}"
changelog_file=$( mktemp ) changelog_file=$( mktemp )