Skip to content

Commit e755ecb

Browse files
amalshajiclaude
andcommitted
Fix goreleaser dirty state check for CI dashboard build
The release workflow builds the dashboard before goreleaser runs, which produces new content-hash asset filenames and leaves the tree dirty. Use --skip=validate (goreleaser's documented fix for this) and remove the invalid git.dirty_ignore field added in the previous commit. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 016c34b commit e755ecb

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
distribution: goreleaser
4545
version: latest
46-
args: release --clean
46+
args: release --clean --skip=validate
4747
env:
4848
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4949
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}

.goreleaser.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
version: 2
22

3-
git:
4-
dirty_ignore:
5-
- "internal/client/dashboard/ui-v2/dist/**"
6-
73
builds:
84
- id: "portr"
95
main: ./cmd/portr

0 commit comments

Comments
 (0)