Skip to content
Snippets Groups Projects
Commit 42703c65 authored by Moul's avatar Moul
Browse files

[mod] #182: Update release script

parent 75b285d0
No related branches found
No related tags found
No related merge requests found
......@@ -23,12 +23,12 @@ check_branch() {
update_version() {
sed -i "s/SILKAJ_VERSION = \".*\"/SILKAJ_VERSION = \"$VERSION\"/" silkaj/constants.py
sed -i "s/version=\".*\",/version=\"$VERSION\",/" setup.py
poetry version "$VERSION"
git diff
}
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"
}
......
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