Skip to content

Commit

Permalink
ci: fix auto release (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonbrad authored Apr 13, 2024
1 parent df8c716 commit 267e29d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ name: release
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
- "[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+"

# We need this to be able to create releases.
permissions:
Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Create GitHub release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release create v$VERSION --verifiy-tag --draft --title $VERSION
run: gh release create v$VERSION --verify-tag --draft --title $VERSION
outputs:
version: ${{ env.VERSION }}

Expand Down

0 comments on commit 267e29d

Please sign in to comment.