Skip to content

Feat: added release workflow using goreleaser#11

Merged
RohitRavindra-dev merged 3 commits into
mainfrom
feat/v2/cicd
Jun 27, 2026
Merged

Feat: added release workflow using goreleaser#11
RohitRavindra-dev merged 3 commits into
mainfrom
feat/v2/cicd

Conversation

@RohitRavindra-dev

@RohitRavindra-dev RohitRavindra-dev commented Jun 27, 2026

Copy link
Copy Markdown
Owner

Summary by CodeRabbit

  • New Features

    • Added automated release publishing for tagged versions.
    • Introduced packaged builds for Windows, Linux, and macOS on both Intel and ARM.
    • Expanded version output to include build and commit details.
  • Bug Fixes

    • Improved release metadata so published artifacts include checksums and build information.

@RohitRavindra-dev RohitRavindra-dev self-assigned this Jun 27, 2026
@coderabbitai

coderabbitai Bot commented Jun 27, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The PR adds a tag-triggered release workflow, GoReleaser packaging for devlocal across multiple platforms, and version output that includes commit metadata.

Changes

Release publishing and version metadata

Layer / File(s) Summary
Build metadata and version output
internal/config/constants.go, cmd/version.go
Adds default Commit and Date values and changes the version command to print the version and commit.
GoReleaser packaging
.goreleaser.yml
Adds GoReleaser v2 release settings for devlocal, including build targets, metadata injection, archives, checksums, and release publication.
Release workflow
.github/workflows/release.yml
Adds a Release workflow that runs on v* tags, sets release permissions, checks out the repo, sets up Go, and runs GoReleaser with GITHUB_TOKEN.

Sequence Diagram(s)

sequenceDiagram
  participant ComponentA
  participant ComponentB
  ComponentA->>ComponentB: observable interaction
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 Hop hop, the release bell rings,
Tags grow wings and the bunny sings.
Version, commit, and builds take flight,
Devlocal sparkles in the night.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: adding a release workflow with GoReleaser.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/v2/cicd

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/release.yml:
- Around line 17-28: The release workflow is using floating action tags in a job
with contents: write, so update the checkout, setup-go, and goreleaser action
references in the release workflow to the provided immutable SHAs instead of
`@v4/`@v5/@v6. Use the existing action steps for actions/checkout,
actions/setup-go, and goreleaser/goreleaser-action as the places to pin these
versions.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 631a210a-b229-4f00-b0b7-f1528fca41ce

📥 Commits

Reviewing files that changed from the base of the PR and between 1c79141 and 55ef9be.

📒 Files selected for processing (4)
  • .github/workflows/release.yml
  • .goreleaser.yml
  • cmd/version.go
  • internal/config/constants.go

Comment thread .github/workflows/release.yml
@RohitRavindra-dev RohitRavindra-dev merged commit d65b1f3 into main Jun 27, 2026
2 checks passed
@RohitRavindra-dev RohitRavindra-dev deleted the feat/v2/cicd branch June 27, 2026 06:39
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