From 04d022aa9544e4478aa04e5f621c306e00dd16c4 Mon Sep 17 00:00:00 2001 From: lbesnard Date: Thu, 30 May 2024 14:53:40 +1000 Subject: [PATCH] (Fix) release --- .github/workflows/release.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3a85c09..96b97b8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,6 +62,14 @@ jobs: - name: Build package run: poetry build + - name: Upload builds + uses: actions/upload-artifact@v4 + with: + name: built-binary + path: | + dist/*.whl + dist/*.tar.gz + - name: Configure git for committing version bump run: | git config --global user.name "github-actions[bot]" @@ -70,7 +78,7 @@ jobs: - name: Bump version id: bump_version run: | - NEW_VERSION=$(poetry version patch | awk '{print $2}') + NEW_VERSION=$(poetry version patch | awk '{print $NF}') echo "New version: $NEW_VERSION" echo "new_version=$NEW_VERSION" >> $GITHUB_ENV git commit -am "Bump version to $NEW_VERSION"