summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authoritchyny <itchyny@cybozu.co.jp>2023-07-04 16:00:25 +0900
committerGitHub <noreply@github.com>2023-07-04 16:00:25 +0900
commit7d424fd52ea9ea642dbb3283c07314fa3cbb550d (patch)
tree873b461ebe5f4a534a44d8a890089658d9fb2faf /.github
parent2270e208d2ca5c884c877f92f67cc281f24906cb (diff)
Fix release workflow tag trigger pattern (#2651)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index cf0bd590..5974e177 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -4,7 +4,7 @@ on:
branches:
- master
tags:
- - "v*"
+ - "jq-*"
pull_request:
jobs:
@@ -222,7 +222,7 @@ jobs:
permissions:
contents: write
needs: [linux, macos, windows, dist]
- if: startsWith(github.event.ref, 'refs/tags/v')
+ if: startsWith(github.event.ref, 'refs/tags/jq-')
steps:
- name: Clone repository
uses: actions/checkout@v3
@@ -241,5 +241,5 @@ jobs:
cp artifacts/jq-windows-windows-2022-gcc/jq.exe release/jq-windows-amd64.exe
cp artifacts/jq-dist/jq-* release/
- gh release create $TAG_NAME --draft --title "jq ${TAG_NAME#v}" --generate-notes
+ gh release create $TAG_NAME --draft --title "jq ${TAG_NAME#jq-}" --generate-notes
gh release upload $TAG_NAME --clobber release/jq-*