diff options
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} |