Skip to content

Commit 65300b4

Browse files
authored
Publish GitHub release
1 parent dbeb7ca commit 65300b4

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ jobs:
4343
with:
4444
attestations: true
4545

46-
- name: Push tag
46+
- name: GitHub Release
47+
env:
48+
GH_TOKEN: ${{ github.token }}
4749
run: |
48-
git config user.name "pytest bot"
49-
git config user.email "pytestbot@gmail.com"
50-
git tag --annotate --message=v${{ github.event.inputs.version }} v${{ github.event.inputs.version }} ${{ github.sha }}
51-
git push origin v${{ github.event.inputs.version }}
50+
gh release create v${{ github.event.inputs.version }} --target=${{ github.ref_name }} --title v${{ github.event.inputs.version }}
51+
gh pr merge ${{ github.ref_name }} --merge

0 commit comments

Comments
 (0)