Run Pipeline on tag event and set tag name as version in .deb
This commit is contained in:
7
run-build.sh
Executable file
7
run-build.sh
Executable 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
|
||||
Reference in New Issue
Block a user