Skip to content

Commit 3fb7b60

Browse files
authored
Merge pull request #2174 from diggerhq/chore/breardon2011/release-adjustment
chore: adjust context, build folder management
2 parents 1f1d577 + ad0249c commit 3fb7b60

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/taco-release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ jobs:
5353
with:
5454
go-version: '1.24'
5555

56+
- name: Clean build directory
57+
run: |
58+
# Remove any existing binaries to prevent contamination
59+
find . -name "dgctl*" -type f -delete || true
60+
find . -name "taco*" -type f -executable -delete || true
61+
find . -name "statesman*" -type f -executable -delete || true
62+
5663
- name: Derive app dir and version
5764
id: meta
5865
run: |

taco/cmd/statesman/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package main
33
// Clean release test after fixing component names
44
// Verifying Release-Please workflow with PAT token
55
// Expecting automatic tag creation on merge
6+
// Testing binary cleanup to prevent dgctl contamination
67
import (
78
"context"
89
"flag"

taco/cmd/taco/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package main
33
// Clean release test after fixing component names
44
// Testing Release-Please with proper tag recognition
55
// Should create version 0.1.2 for both components
6+
// Full end-to-end test with cleanup and proper tagging
67
import (
78
"fmt"
89
"os"

0 commit comments

Comments
 (0)