summaryrefslogtreecommitdiff
path: root/deb_release.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deb_release.sh')
-rwxr-xr-xdeb_release.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/deb_release.sh b/deb_release.sh
new file mode 100755
index 0000000..c84e2e6
--- /dev/null
+++ b/deb_release.sh
@@ -0,0 +1,8 @@
+#!/bin/zsh
+
+VERSION_FILE="src/leap/keymanager/_version.py"
+rm ${VERSION_FILE}
+python setup.py freeze_debianver
+sed -i 's/-dirty//g' ${VERSION_FILE}
+git add ${VERSION_FILE}
+git ci -m "freeze debian version"