aboutsummaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml
index 32bdeaf..1daeba1 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -18,7 +18,7 @@ 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 $version
+ - echo "export version=$version" > env
- ls -lah
- pwd
- chmod 0755 sanoid
@@ -52,6 +52,7 @@ steps:
- cd sanoid
- ls -lah
- pwd
+ - source env
- echo $version
- |
curl -X POST -H "token: $auth_token" -F "file=@./sanoid_$(echo $version).deb" http://docker10.grote.lan:5040/upload