Skip to content

Conversation

@akalipetis
Copy link
Member

No description provided.

@akalipetis akalipetis requested review from Copilot and pjcdawkins May 7, 2025 20:58
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

The purpose of this PR is to fix the version substitution for releases. Key changes include updating the version, commit, date, and builtBy substitution keys from the "commands" package to the "internal/config" package in the GoReleaser configuration for two build targets.

Comments suppressed due to low confidence (2)

.goreleaser.yaml:45

  • Verify that the updated substitution key 'github.com/platformsh/cli/internal/config.Version' correctly matches the variable definitions in your codebase for version substitution, ensuring consistency with the intended release process.
+      - -X "github.com/platformsh/cli/internal/config.Version={{.Version}}"

.goreleaser.yaml:71

  • Verify that the updated substitution key in this build block is consistent with your configuration, and that the internal/config variables are defined as expected for release versioning.
+      - -X "github.com/platformsh/cli/internal/config.Version={{.Version}}"

@pjcdawkins pjcdawkins force-pushed the hotfix/upsun-version branch from 2e0bfb0 to 35ccca7 Compare May 12, 2025 11:01
@pjcdawkins pjcdawkins merged commit 68e4962 into main May 12, 2025
1 check passed
@pjcdawkins pjcdawkins deleted the hotfix/upsun-version branch May 12, 2025 11:02
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