From 9cab2c067e50f26022a416a5507980321770224f Mon Sep 17 00:00:00 2001 From: Massimiliano Adamo <maxadamo@gmail.com> Date: Mon, 17 Feb 2025 17:02:05 +0100 Subject: [PATCH] fix: update version retrieval in create-packages.sh after git pull --- create-packages.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/create-packages.sh b/create-packages.sh index 6878906..3c7fcaa 100755 --- a/create-packages.sh +++ b/create-packages.sh @@ -45,7 +45,6 @@ usage() { } parameters=0 -VERSION=$(awk -F\" '/__version__/{print $2}' wile_coyote/__init__.py) OPTS=$(getopt -o "h,d,r,w,a" --longoptions "help,deb,rpm,whl,all,push-deb" -- "$@") if [ $? != 0 ]; then usage @@ -98,6 +97,8 @@ elif [[ -n $ALL ]]; then fi git pull +VERSION=$(awk -F\" '/__version__/{print $2}' wile_coyote/__init__.py) + set -e # from this point we exit on failure if [[ -n $DEB ]]; then -- GitLab