ci: test export
This commit is contained in:
parent
693b52f536
commit
de652ed9e6
1 changed files with 1 additions and 3 deletions
|
@ -19,7 +19,7 @@ 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)
|
||||
- version=$(git tag | grep "^v" | tail -n 1 | tr -d v)
|
||||
- export version=$(git tag | grep "^v" | tail -n 1 | tr -d v)
|
||||
- echo $version
|
||||
- ln -s packages/debian .
|
||||
- dpkg-buildpackage -uc -us
|
||||
|
@ -29,8 +29,6 @@ steps:
|
|||
- cd ..
|
||||
- pwd
|
||||
- ls -lah
|
||||
- echo v=$version > env
|
||||
- source env
|
||||
- cp sanoid_$version_all.deb sanoid_latest_all.deb
|
||||
- cp sanoid_$version_all.deb sanoid_${DRONE_COMMIT_BRANCH}_all.deb
|
||||
- |
|
||||
|
|
Reference in a new issue