Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
MDANSE
Commits
149929a5
Commit
149929a5
authored
May 11, 2016
by
Jamie Hall
Browse files
Update package.sh
parent
9e18b78a
Pipeline
#282
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
BuildServer/Windows/package.sh
View file @
149929a5
...
...
@@ -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"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment