Skip to content

Commit 4e1feed

Browse files
committed
fix(infra): unify workspace release tags
Why: - cargo release created per-crate tags - releases should use a single tag Impact: - CI triggers only on v* tags - workspace release tags use v{{version}} - Tests: just check
1 parent 2f226e9 commit 4e1feed

2 files changed

Lines changed: 8 additions & 4 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-
- "intar-cli-v*"
9+
- "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/intar-cli-v')
126+
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/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/intar-cli-v')
228+
if: startsWith(github.ref, 'refs/tags/v')
229229
needs: build
230230
runs-on: ubuntu-24.04
231231
permissions:

Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
[workspace]
22
members = ["crates/*"]
3-
resolver = "2"
3+
resolver = "3"
4+
5+
[workspace.metadata.release]
6+
shared-version = true
7+
tag-name = "v{{version}}"
48

59
[workspace.package]
610
version = "0.1.1"

0 commit comments

Comments
 (0)