Commit 8d076cf0 authored by eric pellegrini's avatar eric pellegrini

Removed unused lines from debian build script

parent 7685a473
Pipeline #659 failed with stages
in 1 minute and 10 seconds
......@@ -40,12 +40,6 @@ cd $CI_PROJECT_DIR
REV_NUMBER=$(git rev-list --count HEAD)
echo -e "$BLEU""Revision number = ${REV_NUMBER}<--" "$NORMAL"
# Add current revision number to python source code (will appear in "About..." dialog)
# see http://stackoverflow.com/questions/7648328/getting-sed-error
sed -i "s/.*__version__.*/__version__ = \"${VERSION_NAME}\"/" MDANSE/__pkginfo__.py
sed -i "s/.*__revision__.*/__revision__ = \"${REV_NUMBER}\"/" MDANSE/__pkginfo__.py
sed -i "s/.*__date__.*/__date__ = \"`date +"%d-%m-%Y"`\"/" MDANSE/__pkginfo__.py
# Now build last version
echo "$BLEU""Building MDANSE" "$NORMAL"
python setup.py build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment