Skip to content

Commit fa7a02c

Browse files
authored
Release Python Workflow - Fix logic (#1102)
1 parent c33f82a commit fa7a02c

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/release-python.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
id: version
3939
run: |
4040
VERSION=$(cat languages/python/pyproject.toml | grep -Eo 'version = "[0-9]+\.[0-9]+\.[0-9]+"' | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')
41-
echo "version=$VERSION" >> $GITHUB_ENV
41+
echo "version=$VERSION" >> $GITHUB_OUTPUT
4242
4343
release:
4444
name: Release
@@ -58,6 +58,12 @@ jobs:
5858
name: bitwarden_sdk(.*)
5959
name_is_regexp: true
6060

61+
- name: Move all whl files to single directory
62+
run: |
63+
shopt -s globstar
64+
mv **/*.whl .
65+
working-directory: ${{ github.workspace }}/target/wheels/dist
66+
6167
- name: Create GitHub release
6268
if: ${{ inputs.release_type != 'Dry Run' }}
6369
uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5 # v1.14.0

0 commit comments

Comments
 (0)