Skip to content

Commit e2f7a65

Browse files
vvladkclaude
andcommitted
fix: create postup dir before build to avoid name conflict with binary
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 792085e commit e2f7a65

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@ jobs:
4141
GOARCH: ${{ matrix.goarch }}
4242
CGO_ENABLED: 0
4343
run: |
44-
go build -ldflags="-s -w" -o ${{ matrix.binary }} .
45-
mkdir -p postup
46-
mv ${{ matrix.binary }} postup/
44+
mkdir postup
45+
go build -ldflags="-s -w" -o postup/${{ matrix.binary }} .
4746
zip -r postup-${{ matrix.os_name }}-${{ matrix.goarch }}.zip postup/
4847
4948
- uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)