Skip to content
Snippets Groups Projects
Commit 7dc0a1af authored by Moul's avatar Moul
Browse files

[mod] #182: Update release script

parent 4076a882
No related branches found
No related tags found
No related merge requests found
...@@ -23,12 +23,12 @@ check_branch() { ...@@ -23,12 +23,12 @@ check_branch() {
update_version() { update_version() {
sed -i "s/SILKAJ_VERSION = \".*\"/SILKAJ_VERSION = \"$VERSION\"/" silkaj/constants.py sed -i "s/SILKAJ_VERSION = \".*\"/SILKAJ_VERSION = \"$VERSION\"/" silkaj/constants.py
sed -i "s/version=\".*\",/version=\"$VERSION\",/" setup.py poetry version "$VERSION"
git diff git diff
} }
commit_tag() { commit_tag() {
git commit silkaj/constants.py setup.py -m "v$VERSION" git commit silkaj/constants.py pyproject.toml -m "v$VERSION"
git tag "v$VERSION" -a -m "$VERSION" git tag "v$VERSION" -a -m "$VERSION"
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment