aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Grote2023-06-28 14:43:45 +0200
committerMichael Grote2023-06-28 14:43:45 +0200
commitbbaeea219ccbfaf740aa5e9057f07a10b9c89cd3 (patch)
treefb941a4007cdf15de40039aa5b0bcdaf67a8ae7e
parente5af708e0148b3e9af3a5b8117c4bbe2fc1306e7 (diff)
ci: fix version
-rw-r--r--.drone.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml
index 84e6f39..ce4518e 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)
+ - version=$(git tag | grep "^v" | tail -n 1 | tr -d v)
- echo $version
- ln -s packages/debian .
- dpkg-buildpackage -uc -us