summaryrefslogtreecommitdiff
path: root/deb_release.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deb_release.sh')
-rwxr-xr-xdeb_release.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/deb_release.sh b/deb_release.sh
new file mode 100755
index 00000000..83995bde
--- /dev/null
+++ b/deb_release.sh
@@ -0,0 +1,13 @@
+#!/bin/zsh
+
+for pkg in common client server; do
+ cd ${pkg}
+ echo `pwd`
+ rm src/leap/soledad/${pkg}/_version.py
+ python setup.py freeze_debianver
+ sed -i 's/-dirty//g' src/leap/soledad/${pkg}/_version.py
+ git add src/leap/soledad/${pkg}/_version.py
+ cd ..
+done
+
+git commit -m "Freeze debian version."