This commit is contained in:
Michael Grote 2023-06-30 11:53:22 +02:00
parent 90428797e2
commit c96db13107

View file

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