Skip to content

Restore cmd/devvault entrypoint so GoReleaser can build tagged releases - #3

Merged
Saravanakumar2602 merged 3 commits into
mainfrom
copilot/fix-github-actions-job-goreleaser
Sep 23, 2026
Merged

Saravanakumar2602 merged 3 commits into
mainfrom
copilot/fix-github-actions-job-goreleaser

Conversation

Copilot AI commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

The goreleaser release job failed because the configured build target (cmd/devvault) no longer existed in the repo, causing release artifact generation to abort for tag builds. This PR restores the expected CLI entrypoint and prevents it from being dropped by ignore rules.

  • Root cause addressed: missing release build target

    • Reintroduced cmd/devvault/main.go as the CLI binary entrypoint.
    • Wired it back to the existing command execution path via internal/cli.
  • Source tracking hardening

    • Updated root binary ignore patterns in .gitignore to be slash-anchored (/devvault, /devvault-demo, etc.) so only top-level built artifacts are ignored, while cmd/devvault/** remains trackable.
  • Entrypoint shape

    package main
    
    import "devvault/internal/cli"
    
    func main() {
        cli.Execute()
    }

Co-authored-by: Saravanakumar2602 <189441060+Saravanakumar2602@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job goreleaser Restore cmd/devvault entrypoint so GoReleaser can build tagged releases Sep 23, 2026
Co-authored-by: Saravanakumar2602 <189441060+Saravanakumar2602@users.noreply.github.com>
@Saravanakumar2602

Copy link
Copy Markdown
Owner

merged for copilot changes

@Saravanakumar2602
Saravanakumar2602 marked this pull request as ready for review September 23, 2026 04:17
@Saravanakumar2602
Saravanakumar2602 merged commit 18e00f9 into main Sep 23, 2026
10 checks passed
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.

2 participants