Skip to content
Snippets Groups Projects
Commit 149929a5 authored by Jamie Hall's avatar Jamie Hall
Browse files

Update package.sh

parent 9e18b78a
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -207,8 +207,8 @@ elif [ $TASK = "build" ]; then
echo "Revision number is $REV_NUMBER"
# Add current revision number to python source code (will appear in "About..." dialog)
sed -i "/__version__/c\__version__ = '${CI_BUILD_TAG}'" MDANSE/__pkginfo__.py
sed -i "/__revision__/c\__revision__ = '${REV_NUMBER}'" MDANSE/__pkginfo__.py
sed -i '' 's/.*__version__.*/__version__ = \"${CI_BUILD_TAG}\"/' MDANSE/__pkginfo__.py
sed -i '' 's/.*__revision__.*/__revision__ = \"${REV_NUMBER}\"/' MDANSE/__pkginfo__.py
# setup the environment for a visual studio build of MDANSE using microsoft SDK 7.0 and build MDANSE
echo "MDANSE setup and build"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment