From bbaeea219ccbfaf740aa5e9057f07a10b9c89cd3 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 28 Jun 2023 14:43:45 +0200 Subject: [PATCH] ci: fix version --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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