1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-api-healthcheck synced 2026-06-16 04:44:55 +02:00

set-version.sh: handle spaces for Makefile variable.

This commit is contained in:
Henrik Hautakoski 2022-08-22 15:43:13 +02:00
parent c94f274da3
commit 843d30bb3d
No known key found for this signature in database
GPG key ID: 608414D93E862CCD

View file

@ -64,5 +64,5 @@ fi
# Update Makefile
sed -i "s:PROGRAM_VERSION=\(.*\):PROGRAM_VERSION=$1:g" Makefile
echo -e "[\e[34m::\e[0m] Set PROGRAM_VERSION=\e[34m$1\e[0m in \e[1mMakefile\e[0m"
sed -i "s:PROGRAM_VERSION\(\s*\)=\(\s*\)\(.*\):PROGRAM_VERSION\1=\2$VERSION:g" Makefile
echo -e "[\e[34m::\e[0m] Set PROGRAM_VERSION=\e[34m$VERSION\e[0m in \e[1mMakefile\e[0m"