From 6fdc6674cfe5b4caa5e95ee900dad48c88a698d9 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 14 Jun 2021 01:40:10 -0400 Subject: [PATCH] Fix grabbing existing version The schema `version = ` now messes this up. --- bump-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bump-version b/bump-version index ae5b67d0..58066fdb 100755 --- a/bump-version +++ b/bump-version @@ -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 )