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
d3e43b84
Commit
d3e43b84
authored
Aug 22, 2016
by
eric pellegrini
Browse files
Updated the Debian builder script
parent
587a550e
Pipeline
#622
canceled with stage
in 15 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
BuildServer/Debian/build_deb.sh
View file @
d3e43b84
...
...
@@ -42,8 +42,9 @@ 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/.*__version__.*/__version__ =
\"
${
VERSION_NAME
}
\"
/"
MDANSE/__pkginfo__.py
sed
-i
"s/.*__revision__.*/__revision__ =
\"
${
REV_NUMBER
}
\"
/"
MDANSE/__pkginfo__.py
sed
-i
"s/.*__date__.*/__date__ =
\"
`
date
+
"%d-%d-%Y"
`
\"
/"
MDANSE/__pkginfo__.py
#MDANSE_VERSION=$(grep -Po '(?<=__version__ = \")\d.\d.\d' MDANSE/__pkginfo__.py)
...
...
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