Skip to content
Snippets Groups Projects
Unverified Commit 9cab2c06 authored by Max Adamo's avatar Max Adamo
Browse files

fix: update version retrieval in create-packages.sh after git pull

parent d2d19f4f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment