summaryrefslogtreecommitdiff
path: root/deb_release.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deb_release.sh')
-rwxr-xr-xdeb_release.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/deb_release.sh b/deb_release.sh
new file mode 100755
index 00000000..384af0e8
--- /dev/null
+++ b/deb_release.sh
@@ -0,0 +1,25 @@
+#!/bin/zsh
+
+cd common
+echo `pwd`
+rm src/leap/soledad/common/_version.py
+python setup.py freeze_debianver
+sed -i 's/-dirty//g' src/leap/soledad/common/_version.py
+cd ..
+
+cd client
+rm src/leap/soledad/client/_version.py
+python setup.py freeze_debianver
+sed -i 's/-dirty//g' src/leap/soledad/client/_version.py
+cd ..
+
+cd server
+rm src/leap/soledad/server/_version.py
+python setup.py freeze_debianver
+sed -i 's/-dirty//g' src/leap/soledad/server/_version.py
+cd ..
+
+git add common/src/leap/soledad/common/_version.py
+git add client/src/leap/soledad/client/_version.py
+git add server/src/leap/soledad/server/_version.py
+git ci -m "freeze debian version"