Commit 9bd273d8 authored by eric pellegrini's avatar eric pellegrini

Added helper script for update __pkginfo__ with a given MDANSE version number

parent 6ce1816c
#!/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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment