set version to 3.0.0, so the package does not get overwritten

This commit is contained in:
Michael Grote 2023-07-05 12:34:39 +02:00
parent cc4d6b122c
commit 145e8d7353

View file

@ -17,7 +17,8 @@ steps:
- cd sanoid
- # checkout latest stable release or stay on master for bleeding edge stuff (but expect bugs!)
#- git checkout $(git tag | grep "^v" | tail -n 1)
- export version=$(git tag | grep "^v" | tail -n 1 | tr -d v)
#- export version=$(git tag | grep "^v" | tail -n 1 | tr -d v)
- export version=3.0.0
- ls -lah
- pwd
- chmod 0755 sanoid
@ -51,7 +52,7 @@ steps:
- cd sanoid
- ls -lah
- pwd
- export version=$(git tag | grep "^v" | tail -n 1 | tr -d v)
- export version=3.0.0
- echo $version
- |
curl -X POST -H "token: $auth_token" -F "file=@./sanoid_$(echo $version).deb" http://docker10.grote.lan:5040/upload