Skip to content

Commit 0ef0d81

Browse files
committed
chore: exclude taco from other releases
1 parent ad0249c commit 0ef0d81

File tree

5 files changed

+7
-0
lines changed

5 files changed

+7
-0
lines changed

.github/workflows/cli_release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ name: release cli
1010

1111
jobs:
1212
binary:
13+
if: "!startsWith(github.event.release.tag_name, 'taco/')"
1314
runs-on: ubuntu-latest
1415

1516
steps:

.github/workflows/dgctl_release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ name: release dgctl
1010

1111
jobs:
1212
binary:
13+
if: "!startsWith(github.event.release.tag_name, 'taco/')"
1314
strategy:
1415
matrix:
1516
arch: [arm, arm64, amd64, "386"]

.github/workflows/ee_cli_release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ name: release ee cli
1010

1111
jobs:
1212
binary:
13+
if: "!startsWith(github.event.release.tag_name, 'taco/')"
1314
runs-on: ubuntu-latest
1415

1516
steps:

taco/cmd/statesman/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ package main
44
// Verifying Release-Please workflow with PAT token
55
// Expecting automatic tag creation on merge
66
// Testing binary cleanup to prevent dgctl contamination
7+
// Added workflow exclusions to prevent release collisions
8+
// Testing isolated taco releases without interference
79
import (
810
"context"
911
"flag"

taco/cmd/taco/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ package main
44
// Testing Release-Please with proper tag recognition
55
// Should create version 0.1.2 for both components
66
// Full end-to-end test with cleanup and proper tagging
7+
// Fixed tag collision with existing release workflows
8+
// Should now have clean releases without dgctl contamination
79
import (
810
"fmt"
911
"os"

0 commit comments

Comments
 (0)