Skip to content

Conversation

@pjcdawkins
Copy link
Contributor

No description provided.

Fixed multiple deprecation warnings by updating both .goreleaser.yaml and .goreleaser.vendor.yaml.tpl:

- Added version: 2 to both configuration files
- Changed snapshot.name_template to snapshot.version_template
- Updated archives.format_overrides.format to archives.format_overrides.formats
- Replaced archives.builds with archives.ids
- Replaced nfpms.builds with nfpms.ids
- Fixed inconsistent ldflags paths in .goreleaser.vendor.yaml.tpl (commands → internal/config)

Configuration now passes validation with only one remaining deprecation warning about brews being phased out, which is acceptable for CLI tools.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@pjcdawkins pjcdawkins marked this pull request as ready for review September 16, 2025 22:20
@pjcdawkins pjcdawkins requested a review from Copilot September 16, 2025 22:23
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Updates the project to Go 1.25 and refreshes all dependencies to their latest versions. This includes major version updates to GoReleaser v2 and associated configuration changes.

  • Go version bumped from 1.23.0 to 1.25
  • All dependencies updated to latest versions
  • GoReleaser upgraded from v1.26 to v2.12.0 with configuration migration

Reviewed Changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
go.mod Updates Go version and all direct/indirect dependencies
Makefile Updates GoReleaser version and refactors linting commands
.goreleaser.yaml Migrates configuration to GoReleaser v2 format
.goreleaser.vendor.yaml.tpl Updates template for GoReleaser v2 compatibility
.gitlab-ci.yml Updates Docker images to use Go 1.25
.github/workflows/ci.yml Updates Go version and separates linting steps
internal/version/version_test.go Updates test cases for version validation logic

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@spk spk merged commit e8545c7 into main Sep 17, 2025
1 check passed
@spk spk deleted the upgrade-go-1.25 branch September 17, 2025 14:53
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.

3 participants