diff --git a/.github/workflows/cli_release.yml b/.github/workflows/cli_release.yml index df268a8b6..3d80b6cf5 100644 --- a/.github/workflows/cli_release.yml +++ b/.github/workflows/cli_release.yml @@ -10,6 +10,7 @@ name: release cli jobs: binary: + if: "!startsWith(github.event.release.tag_name, 'taco/')" runs-on: ubuntu-latest steps: diff --git a/.github/workflows/dgctl_release.yml b/.github/workflows/dgctl_release.yml index 530f1a617..ad3fcfc77 100644 --- a/.github/workflows/dgctl_release.yml +++ b/.github/workflows/dgctl_release.yml @@ -10,6 +10,7 @@ name: release dgctl jobs: binary: + if: "!startsWith(github.event.release.tag_name, 'taco/')" strategy: matrix: arch: [arm, arm64, amd64, "386"] diff --git a/.github/workflows/ee_cli_release.yml b/.github/workflows/ee_cli_release.yml index 7e4f74180..70bda5be7 100644 --- a/.github/workflows/ee_cli_release.yml +++ b/.github/workflows/ee_cli_release.yml @@ -10,6 +10,7 @@ name: release ee cli jobs: binary: + if: "!startsWith(github.event.release.tag_name, 'taco/')" runs-on: ubuntu-latest steps: diff --git a/taco/cmd/statesman/main.go b/taco/cmd/statesman/main.go index 6c2fa888d..0c1b137ab 100644 --- a/taco/cmd/statesman/main.go +++ b/taco/cmd/statesman/main.go @@ -4,6 +4,8 @@ package main // Verifying Release-Please workflow with PAT token // Expecting automatic tag creation on merge // Testing binary cleanup to prevent dgctl contamination +// Added workflow exclusions to prevent release collisions +// Testing isolated taco releases without interference import ( "context" "flag" diff --git a/taco/cmd/taco/main.go b/taco/cmd/taco/main.go index e3110da2c..8a559a2ff 100644 --- a/taco/cmd/taco/main.go +++ b/taco/cmd/taco/main.go @@ -4,6 +4,8 @@ package main // Testing Release-Please with proper tag recognition // Should create version 0.1.2 for both components // Full end-to-end test with cleanup and proper tagging +// Fixed tag collision with existing release workflows +// Should now have clean releases without dgctl contamination import ( "fmt" "os"