From 145e8d7353f079e8f432f2decda48e5285d9ca4e Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 5 Jul 2023 12:34:39 +0200 Subject: [PATCH] set version to 3.0.0, so the package does not get overwritten --- .drone.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 49568b2..30dfcf3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,7 +17,8 @@ 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) - - export version=$(git tag | grep "^v" | tail -n 1 | tr -d v) + #- export version=$(git tag | grep "^v" | tail -n 1 | tr -d v) + - export version=3.0.0 - ls -lah - pwd - chmod 0755 sanoid @@ -51,7 +52,7 @@ steps: - cd sanoid - ls -lah - pwd - - export version=$(git tag | grep "^v" | tail -n 1 | tr -d v) + - export version=3.0.0 - echo $version - | curl -X POST -H "token: $auth_token" -F "file=@./sanoid_$(echo $version).deb" http://docker10.grote.lan:5040/upload