Permalink
Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign up
shawnmjones
templates are how files are handled now, rawhtml is not long for this…
f8cc7fc
May 7, 2019
#!/bin/bash | |
# Update version in project | |
VERSION_STRING=`date -u +0.%Y.%m.%d.%H%M%S` | |
FILE_NAME='raintale/version.py' | |
# DOC_FILE_NAME='docs/source/conf.py' | |
# Update mementoembed version | |
sed -i.bak "s/^__appversion__ = .*$/__appversion__ = '$VERSION_STRING'/g" $FILE_NAME | |
rm $FILE_NAME.bak | |
# sed -i.bak "s/^release = '.*'$/release = '$VERSION_STRING'/g" $DOC_FILE_NAME |