release script fix

This commit is contained in:
UKDTOM 2022-01-01 22:54:23 +01:00
parent c1e80f2535
commit bef9361160

View file

@ -17,7 +17,7 @@ echo $CURVER
# Get git root directory # Get git root directory
root=$(git rev-parse --show-toplevel 2>&1) root=$(git rev-parse --show-toplevel 2>&1)
# get commit hash for version file # get commit hash for version file
rev='{"rev":"'$(git rev-parse --short HEAD 2>&1)'"}' rev=$(git rev-parse --short HEAD 2>&1)
echo Committing v$CURVER.$rev echo Committing v$CURVER.$rev
# Commit to Release Branch # Commit to Release Branch
git commit -am v$CURVER.$rev git commit -am v$CURVER.$rev