Skip to content

Commit

Permalink
Set a tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
thisismiller committed Oct 29, 2024
1 parent 7e9d417 commit 29b1bb9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,17 @@ jobs:
- name: Run Tests
run: poetry run pytest

- name: Generate release tag
id: tag
run: |
echo "::set-output name=release_tag::$(git rev-parse HEAD)"
- name: Upload Release Asset
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.tag.outputs.release_tag }}
files: dist/*.whl
draft: false
prerelease: false
Expand Down

0 comments on commit 29b1bb9

Please sign in to comment.