ci: fix version

This commit is contained in:
Michael Grote 2023-06-28 14:43:45 +02:00
parent e5af708e01
commit bbaeea219c

View file

@ -19,7 +19,7 @@ steps:
- cd sanoid - cd sanoid
- # checkout latest stable release or stay on master for bleeding edge stuff (but expect bugs!) - # checkout latest stable release or stay on master for bleeding edge stuff (but expect bugs!)
- git checkout $(git tag | grep "^v" | tail -n 1) - 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 - echo $version
- ln -s packages/debian . - ln -s packages/debian .
- dpkg-buildpackage -uc -us - dpkg-buildpackage -uc -us