Skip to content

Commit 29b1bb9

Browse files
committed
Set a tag name
1 parent 7e9d417 commit 29b1bb9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

+6
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,17 @@ jobs:
3737
- name: Run Tests
3838
run: poetry run pytest
3939

40+
- name: Generate release tag
41+
id: tag
42+
run: |
43+
echo "::set-output name=release_tag::$(git rev-parse HEAD)"
44+
4045
- name: Upload Release Asset
4146
uses: softprops/action-gh-release@v2
4247
env:
4348
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4449
with:
50+
tag_name: ${{ steps.tag.outputs.release_tag }}
4551
files: dist/*.whl
4652
draft: false
4753
prerelease: false

0 commit comments

Comments
 (0)