From 59213a5b3ab3509845f2c7bb28bae7248a00ea19 Mon Sep 17 00:00:00 2001 From: Marius Date: Fri, 20 Sep 2019 11:06:25 +0200 Subject: [PATCH] ci: Remove leading 'v' from version for Debian packages --- scripts/build_funcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build_funcs.sh b/scripts/build_funcs.sh index 5e27b3e..897d9df 100755 --- a/scripts/build_funcs.sh +++ b/scripts/build_funcs.sh @@ -58,7 +58,7 @@ function makedep { echo "Maintainer: Marius " >> "./$dir/DEBIAN/control" echo "Section: devel" >> "./$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 "Homepage: https://github.com/tus/tusd" >> "./$dir/DEBIAN/control" echo "Built-Using: $(go version)" >> "./$dir/DEBIAN/control"