Skip to content

Commit 1e227ea

Browse files
committed
add tag creation / github release step to release workflow
1 parent f8971fb commit 1e227ea

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,19 @@ jobs:
5050
5151
- name: Publish to PyPI
5252
run: poetry publish --skip-existing
53+
54+
- name: Push tag to GitHub
55+
run: |
56+
git config user.name "Joshua Pritchard"
57+
git config user.email "[email protected]"
58+
git tag ${{ github.event.inputs.tag }}
59+
git push origin ${{ github.event.inputs.tag }}
60+
61+
- name: Create GitHub Release
62+
uses: softprops/action-gh-release@v1
63+
with:
64+
tag_name: ${{ github.event.inputs.tag }}
65+
name: Release ${{ github.event.inputs.tag }}
66+
generate_release_notes: true
67+
env:
68+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)