ci: test
This commit is contained in:
parent
90428797e2
commit
c96db13107
1 changed files with 1 additions and 2 deletions
|
@ -18,7 +18,6 @@ steps:
|
|||
- # 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)
|
||||
- echo "export version=$version" > env
|
||||
- ls -lah
|
||||
- pwd
|
||||
- chmod 0755 sanoid
|
||||
|
@ -52,7 +51,7 @@ steps:
|
|||
- cd sanoid
|
||||
- ls -lah
|
||||
- pwd
|
||||
- source env
|
||||
- export version=$(git tag | grep "^v" | tail -n 1 | tr -d v)
|
||||
- echo $version
|
||||
- |
|
||||
curl -X POST -H "token: $auth_token" -F "file=@./sanoid_$(echo $version).deb" http://docker10.grote.lan:5040/upload
|
||||
|
|
Reference in a new issue