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