Skip to content

Commit

Permalink
ci(latest): fix trigger for release creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeratoxx committed Mar 2, 2024
1 parent 0040666 commit a95460b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
name: Publish release

on:
create:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "*"

jobs:
bundle:
if: github.ref_type == 'tag'
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
name: Bundle version ${{ github.ref_name }}
uses: ./.github/workflows/bundle.yml
with:
version: ${{ github.ref_name }}

publish-release:
if: github.ref_type == 'tag'
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
runs-on: ubuntu-22.04
needs: bundle
name: Publish release
Expand Down

0 comments on commit a95460b

Please sign in to comment.