Skip to content

fix(ci): restore dist/.gitkeep after UI rebuild (unblock v0.4.0-beta.1 signing)#125

Merged
aksOps merged 1 commit into
mainfrom
fix/release-gitkeep-dirty
Jun 19, 2026
Merged

fix(ci): restore dist/.gitkeep after UI rebuild (unblock v0.4.0-beta.1 signing)#125
aksOps merged 1 commit into
mainfrom
fix/release-gitkeep-dirty

Conversation

@aksOps

@aksOps aksOps commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

GoReleaser's dirty-tree check aborts the release when the tag commits internal/ui/dist/.gitkeep (which scripts/release.sh does): release.yml rebuilds the UI, vite emptyOutDir deletes the committed .gitkeep, and D internal/ui/dist/.gitkeep trips the check. v0.4.0-beta.1 hit exactly this (run 27799006159). Restore the placeholder after the rebuild so the tree matches the tag; no-op for tags without .gitkeep (v0.3.1). After merge, recover beta.1 via workflow_dispatch -f tag=v0.4.0-beta.1 (mode: append).

🤖 Generated with Claude Code
https://claude.ai/code/session_01LDQVJrixs2nJoea67a8pEG

…e.yml

GoReleaser aborts with 'git is in a dirty state' when the release tag commits
internal/ui/dist/.gitkeep (as scripts/release.sh does via `touch`): release.yml
rebuilds the UI, vite's emptyOutDir deletes the committed .gitkeep, and the
resulting 'D internal/ui/dist/.gitkeep' fails GoReleaser's clean-tree check.
Restore the placeholder after the rebuild so the tree matches the tag. No-op
for tags that don't track .gitkeep (e.g. v0.3.1). Unblocks the v0.4.0-beta.1
signed-artifact build via workflow_dispatch recovery.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LDQVJrixs2nJoea67a8pEG
@aksOps aksOps merged commit 0b243bf into main Jun 19, 2026
17 checks passed
@aksOps aksOps deleted the fix/release-gitkeep-dirty branch June 19, 2026 01:48
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant