Run Pipeline on tag event and set tag name as version in .deb

This commit is contained in:
2026-01-15 09:09:45 +01:00
parent 2aca99e12f
commit 7ad47b0753
2 changed files with 13 additions and 11 deletions

7
run-build.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
VERSION="$1"
DEBIAN_PACKAGE_PATH="$2"
echo "Version: ${VERSION}" >> $DEBIAN_PACKAGE_PATH/DEBIAN/control
dpkg-deb --root-owner-group --build $DEBIAN_PACKAGE_PATH