summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..c9cda77
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+# Permet la génération des paquets debian
+TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
+VERSION="${TAG/-/"~"}"
+fpm -t deb -v "$VERSION" \ No newline at end of file