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
9bd273d8
Commit
9bd273d8
authored
Aug 26, 2016
by
eric pellegrini
Browse files
Added helper script for update __pkginfo__ with a given MDANSE version number
parent
6ce1816c
Changes
1
Hide whitespace changes
Inline
Side-by-side
bumb_version.sh
0 → 100755
View file @
9bd273d8
#!/bin/bash
VERSION
=
$1
# Update version 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
}
\"
/"
__pkginfo__.py
# Update the date of the version
sed
-i
"s/.*__date__.*/__date__ =
\"
`
date
+
"%d-%m-%Y"
`
\"
/"
__pkginfo__.py
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