Skip to content

Commit

Permalink
chore(tooling): Catch releases on first creation, not just edit/pubilsh
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Sep 20, 2024
1 parent 39dad7e commit 5013564
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
path: casile-${{ env.VERSION }}.zip
- name: Release
uses: softprops/action-gh-release@v2
if: github.repository == 'sile-typesetter/casile' && startsWith(github.ref, 'refs/tags/v')
if: github.repository == 'sile-typesetter/casile' && startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '.')
with:
body_path: casile-${{ env.VERSION }}.md
files: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/versioning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Versioning

on:
release:
types: [ published, edited ]
types: [ created, released, published, edited ]

jobs:
actions-tagger:
Expand Down

0 comments on commit 5013564

Please sign in to comment.