Skip to content

Commit efc73a9

Browse files
committed
fix(infra): scope tag releases to cli tags
Why: - cargo release creates per-crate tags - avoid duplicate release attempts Impact: - CI runs releases only for intar-cli tags - Tests: just check
1 parent 2c0835e commit efc73a9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
branches:
77
- main
88
tags:
9-
- "*"
9+
- "intar-cli-v*"
1010
workflow_dispatch:
1111

1212
jobs:
@@ -123,7 +123,7 @@ jobs:
123123

124124
build:
125125
name: Build - ${{ matrix.platform.os-name }}
126-
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
126+
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/intar-cli-v')
127127
needs: prebuild-agents
128128
env:
129129
INTAR_AGENT_X86_64_PATH: ${{ github.workspace }}/prebuilt-agents/intar-agent-x86_64
@@ -225,7 +225,7 @@ jobs:
225225

226226
release:
227227
name: Release
228-
if: startsWith(github.ref, 'refs/tags/')
228+
if: startsWith(github.ref, 'refs/tags/intar-cli-v')
229229
needs: build
230230
runs-on: ubuntu-24.04
231231
permissions:

0 commit comments

Comments
 (0)