From de652ed9e6b046a0e30e7906ceaa4f1d8a38025e Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 28 Jun 2023 14:52:13 +0200 Subject: [PATCH] ci: test export --- .drone.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 - |