diff options
author | varac <varacanero@zeromail.org> | 2017-02-24 12:08:18 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2017-03-02 10:10:38 +0100 |
commit | 489b5614f8c9ca635b9b70330fd966f5a3371fcf (patch) | |
tree | 6b640f1559f74baec3b12ef5cd412e40f25dddb8 /debian | |
parent | 60fabf6ccdff1e6b5b028819616d101fd0d8fa36 (diff) |
Use . before git ref in python version
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/freeze_python_version.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/freeze_python_version.sh b/debian/freeze_python_version.sh index ded3106..dcdffab 100755 --- a/debian/freeze_python_version.sh +++ b/debian/freeze_python_version.sh @@ -7,7 +7,7 @@ echo y | python setup.py freeze_debianver # Add the number of commits after last tag to the version string add_commits=$(git describe | cut -d'-' -f2) rev=$(git describe | cut -d'-' -f3) -sed -i "/ \"version/s/\"$/.${add_commits}+${rev}\"/" ${VERSION_FILE} +sed -i "/ \"version/s/\"$/.${add_commits}.${rev}\"/" ${VERSION_FILE} # Remove the -dirty tag sed -i 's/-dirty//g' ${VERSION_FILE} |