Fix grabbing existing version
The schema `version = ` now messes this up.
This commit is contained in:
parent
78453a173c
commit
6fdc6674cf
|
@ -7,7 +7,7 @@ if [[ -z ${new_version} ]]; then
|
|||
exit 1
|
||||
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}"
|
||||
|
||||
changelog_file=$( mktemp )
|
||||
|
|
Loading…
Reference in New Issue