Select Git revision
wallet-controllers.js
-
Benoit Lavenier authored
- Features tour: strange animation, under firefox - fix #189 - Features tour: missing UD value, in first wallet helptip - UIUtils : allow to reuse popover (better management of deferred, on close on cleanup) or not (avoid memory leaks)
Benoit Lavenier authored- Features tour: strange animation, under firefox - fix #189 - Features tour: missing UD value, in first wallet helptip - UIUtils : allow to reuse popover (better management of deferred, on close on cleanup) or not (avoid memory leaks)
release.sh 757 B
#!/bin/bash
#__version__ = '0.20.1dev9'
current=`grep -P "__version__ = \"\d+.\d+.\d+(\w*)\"" duniterpy/__init__.py | grep -oP "\d+.\d+.\d+(\w*)"`
echo "Current version: $current"
if [[ $1 =~ ^[0-9]+.[0-9]+.[0-9]+[0-9a-z]*$ ]]; then
# update version in duniterpy
sed -i "s/__version__ = \".*\"/__version__ = \"$1\"/g" duniterpy/__init__.py
# update version in pyproject.toml
poetry version "$1"
# update version in documentation configuration
sed -i "s/version = \".*\"/version = \"$1\"/g" docs/conf.py
sed -i "s/release = \".*\"/release = \"$1\"/g" docs/conf.py
# commit changes and add version tag
git commit pyproject.toml duniterpy/__init__.py docs/conf.py -m "$1"
git tag "$1" -a -m "$1"
else
echo "Wrong version format"
fi