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

set-version.sh: update version in pkg_info.sh instead of Makefile

This commit is contained in:
Henrik Hautakoski 2022-08-19 13:21:59 +02:00
parent f63723a6f8
commit 4a7d74594e
No known key found for this signature in database
GPG key ID: 608414D93E862CCD

View file

@ -5,5 +5,5 @@ if [ $# -lt 1 ]; then
exit 1
fi
sed -i "s:PACKAGE_VERSION=\\\\\"\(.*\)\\\\\":PACKAGE_VERSION=\\\\\"$1\\\\\":g" Makefile
sed -i "s:PROGRAM_VERSION=\(.*\):PROGRAM_VERSION=$1:g" scripts/info.sh
sed -i "s~\print(\"Version:\ v\(.*\)\\\n\")~print(\\\"Version:\ v$1\\\n\\\")~g" src/main.go