diff options
author | Kali Kaneko <kali@leap.se> | 2013-11-15 23:28:02 -0200 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2013-11-15 23:28:02 -0200 |
commit | e7945706608f5a75fe7baf9a3cb268ddb49773bc (patch) | |
tree | bca636b04cae0bec27407da58e577ea168325394 /deb_release.sh | |
parent | 90eaf6cbf98d9beab3e12b21c2d4e1cf5d3c9604 (diff) |
improve deb_release script
Diffstat (limited to 'deb_release.sh')
-rwxr-xr-x | deb_release.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/deb_release.sh b/deb_release.sh index b91c92f..79e7e24 100755 --- a/deb_release.sh +++ b/deb_release.sh @@ -1,7 +1,8 @@ #!/bin/zsh -rm src/leap/mail/_version.py +VERSION_FILE="src/leap/mail/_version.py" +rm ${VERSION_FILE} python setup.py freeze_debianver -sed -i 's/-dirty//g' src/leap/mail/_version.py -git add src/leap/mail/_version.py +sed -i 's/-dirty//g' ${VERSION_FILE} +git add ${VERSION_FILE} git ci -m "freeze debian version" |