diff options
-rwxr-xr-x | debian/freeze_python_version.sh | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/debian/freeze_python_version.sh b/debian/freeze_python_version.sh deleted file mode 100755 index dcdffab..0000000 --- a/debian/freeze_python_version.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -VERSION_FILE="src/leap/mx/_version.py" -rm ${VERSION_FILE} -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} - -# Remove the -dirty tag -sed -i 's/-dirty//g' ${VERSION_FILE} - -git commit -m "[pkg] freeze debian version" ${VERSION_FILE} - -python setup.py version |