Skip to content
Myr

Fix release workflow tag trigger pattern (#2651)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by itchyny · committed by GitHub · parent 2270e20 · Browse files · 1 file+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:.github/workflows/ci.yml+3 added-3 removed
2 unmodified lines
3 push:4 branches:5 - master6 tags:7 - "v*"7 - "jq-*"8 pull_request:910jobs:11 linux:
209 unmodified lines
221 runs-on: ubuntu-latest222 permissions:223 contents: write224 needs: [linux, macos, windows, dist]225 if: startsWith(github.event.ref, 'refs/tags/v')225 if: startsWith(github.event.ref, 'refs/tags/jq-')226 steps:227 - name: Clone repository228 uses: actions/checkout@v3229 - name: Merge built artifacts
10 unmodified lines
240 cp artifacts/jq-macos-macos-13-gcc/jq release/jq-macos-amd64241 cp artifacts/jq-windows-windows-2022-gcc/jq.exe release/jq-windows-amd64.exe242 cp artifacts/jq-dist/jq-* release/243244 gh release create $TAG_NAME --draft --title "jq ${TAG_NAME#v}" --generate-notes244 gh release create $TAG_NAME --draft --title "jq ${TAG_NAME#jq-}" --generate-notes245 gh release upload $TAG_NAME --clobber release/jq-*