From 2a176589d32be9917f1455225f7f1dbd09312f21 Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Sat, 8 Jun 2019 15:40:22 +0200 Subject: [PATCH] [mod] #182: Update release script --- release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release.sh b/release.sh index 7a48b68b..547890ca 100755 --- a/release.sh +++ b/release.sh @@ -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" } -- GitLab