Skip to content

Commit

Permalink
Merge pull request #11 from aodn/Release
Browse files Browse the repository at this point in the history
(Fix) release
  • Loading branch information
lbesnard authored May 30, 2024
2 parents 7895110 + 04d022a commit bd17546
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]"
Expand All @@ -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"
Expand Down

0 comments on commit bd17546

Please sign in to comment.