Skip to content
Snippets Groups Projects
Commit 1192fe0b authored by Vincent Texier's avatar Vincent Texier
Browse files

[fix] fix release.sh

parent 76d1799f
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ if [[ $1 =~ ^[0-9]+.[0-9]+.[0-9]+[0-9a-z]*$ ]]; then
# update version in package __init__.py
sed -i "s/__version__ = \".*\"/__version__ = \"$1\"/g" tikka/__init__.py
sed -i "s/TIKKA_VERSION: \".*\"/TIKKA_VERSION: \"$1\"/g" .gitlab-ci.yml
sed -i "s/version = \".*\"/version = \"$1\"/g" pyproject.toml
sed -i "s/^version = \".*\"/version = \"$1\"/g" pyproject.toml
# commit changes and add version tag
git commit pyproject.toml tikka/__init__.py .gitlab-ci.yml -m "$1"
git tag "$1" -a -m "$1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment