diff options
author | Kali Kaneko <kali@leap.se> | 2013-12-10 15:43:47 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2013-12-10 15:43:47 -0400 |
commit | 3ea9dd9c8658f9faafd1f1a9a8c8ce16e6579f4a (patch) | |
tree | 7e38e5595a4a8df98637ec37ea9cc159a8f98a85 | |
parent | 50ba4027ca95e9d42ffa8f160ad8e7bf77212513 (diff) |
add deb_release script
-rwxr-xr-x | deb_release.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/deb_release.sh b/deb_release.sh new file mode 100755 index 0000000..9f0e675 --- /dev/null +++ b/deb_release.sh @@ -0,0 +1,8 @@ +#!/bin/zsh + +VERSION_FILE="src/leap/common/_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" |