The code.ill.fr has been recreated and upgraded with the latest version this weekend, If you encounter any problem please inform the Helpdesk.

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

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