Skip to content

Commit

Permalink
Release Python Workflow - Fix logic (#1102)
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrassia authored Sep 30, 2024
1 parent c33f82a commit fa7a02c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
id: version
run: |
VERSION=$(cat languages/python/pyproject.toml | grep -Eo 'version = "[0-9]+\.[0-9]+\.[0-9]+"' | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')
echo "version=$VERSION" >> $GITHUB_ENV
echo "version=$VERSION" >> $GITHUB_OUTPUT
release:
name: Release
Expand All @@ -58,6 +58,12 @@ jobs:
name: bitwarden_sdk(.*)
name_is_regexp: true

- name: Move all whl files to single directory
run: |
shopt -s globstar
mv **/*.whl .
working-directory: ${{ github.workspace }}/target/wheels/dist

- name: Create GitHub release
if: ${{ inputs.release_type != 'Dry Run' }}
uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5 # v1.14.0
Expand Down

0 comments on commit fa7a02c

Please sign in to comment.