diff --git a/.drone.yml b/.drone.yml index 7d7cd0a..db1e76b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 - |