Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
MDANSE
Commits
8b0873c4
Commit
8b0873c4
authored
Aug 22, 2016
by
eric pellegrini
Browse files
Updated the Debian builder script
parent
d3e43b84
Pipeline
#623
passed with stage
in 17 minutes and 42 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
BuildServer/Debian/build_deb.sh
View file @
8b0873c4
...
...
@@ -44,7 +44,7 @@ echo -e "$BLEU""Revision number = ${REV_NUMBER}<--" "$NORMAL"
# 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-%
d
-%Y"
`
\"
/"
MDANSE/__pkginfo__.py
sed
-i
"s/.*__date__.*/__date__ =
\"
`
date
+
"%d-%
m
-%Y"
`
\"
/"
MDANSE/__pkginfo__.py
#MDANSE_VERSION=$(grep -Po '(?<=__version__ = \")\d.\d.\d' MDANSE/__pkginfo__.py)
...
...
MDANSE/__pkginfo__.py
View file @
8b0873c4
...
...
@@ -2,7 +2,7 @@ __version__ = "1.0.0"
__date__
=
"April 2015"
__author__
=
"Eric
C.
Pellegrini"
__author__
=
"Eric Pellegrini"
__revision__
=
"undefined"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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