Commit 0c26811d authored by Carsten  Rose's avatar Carsten Rose
Browse files

Fixed: version number now automatically updated in conf.py, NewVersion.md

parent 1b396122
Pipeline #3572 passed with stages
in 4 minutes and 27 seconds
......@@ -57,10 +57,9 @@ Neue Versionsnummer
6) **Update Version & Commit**
* Update the version number in this document (topic 6)
* Commit & Push new version changes to master branch:
New version 20.6.2
New version 20.6.2
7) **New Tag**:
......
......@@ -62,9 +62,9 @@ author = 'Carsten Rose, Benjamin Baer, Marc Egger'
# built documents.
#
# The short X.Y version.
version = '20.4.1'
version = '20.6'
# The full version, including alpha/beta/rc tags.
release = '20.4.1'
release = '20.6.2'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
......
......@@ -38,6 +38,15 @@ function versionFile() {
echo ${VERSION} > ${FILE}
}
function newVersionMD() {
FILE="Documentation-develop/NewVersion.md"
sed -i -r 's/^\s*New version.+$/ New version '$VERSION'/g' ${FILE}
sed -i -r 's/^\s*git tag v.+$/ git tag v'$VERSION'/g' ${FILE}
sed -i -r 's/^\s*git push -u origin v.+$/ git push -u origin v'$VERSION'/g' ${FILE}
}
function myExit() {
[ ! -z "$2" ] && echo "$2"
......@@ -62,4 +71,6 @@ SHORT="$MAJOR.$MINOR"
#confPy
settingsCfg
extEmConf
versionFile
\ No newline at end of file
versionFile
confPy
newVersionMD
Supports Markdown
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