ci: Remove leading 'v' from version for Debian packages

This commit is contained in:
Marius 2019-09-20 11:06:25 +02:00
parent a6a305f1c0
commit 59213a5b3a
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ function makedep {
echo "Maintainer: Marius <maerious@gmail.com>" >> "./$dir/DEBIAN/control" echo "Maintainer: Marius <maerious@gmail.com>" >> "./$dir/DEBIAN/control"
echo "Section: devel" >> "./$dir/DEBIAN/control" echo "Section: devel" >> "./$dir/DEBIAN/control"
echo "Priority: optional" >> "./$dir/DEBIAN/control" echo "Priority: optional" >> "./$dir/DEBIAN/control"
echo "Version: ${version}" >> "./$dir/DEBIAN/control" echo "Version: ${version:1}" >> "./$dir/DEBIAN/control"
echo "Architecture: ${arch}" >> "./$dir/DEBIAN/control" echo "Architecture: ${arch}" >> "./$dir/DEBIAN/control"
echo "Homepage: https://github.com/tus/tusd" >> "./$dir/DEBIAN/control" echo "Homepage: https://github.com/tus/tusd" >> "./$dir/DEBIAN/control"
echo "Built-Using: $(go version)" >> "./$dir/DEBIAN/control" echo "Built-Using: $(go version)" >> "./$dir/DEBIAN/control"