Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix setting link-time variables for release version #6841

Merged
merged 1 commit into from Jul 24, 2023

Conversation

cPu1
Copy link
Collaborator

@cPu1 cPu1 commented Jul 21, 2023

Description

The import name passed to ldflags was incorrect, causing variables in the version package to remain unset. This was causing eksctl version to show a -dev suffix for both release candidates and full releases.

This changelist fixes setting link-time variables for the release version.

Fixes #6835

Checklist

  • Added tests that cover your change (if possible)
  • Added/modified documentation as required (such as the README.md, or the userdocs directory)
  • Manually tested
  • Made sure the title of the PR is a good description that can go into the release notes
  • (Core team) Added labels for change area (e.g. area/nodegroup) and kind (e.g. kind/improvement)

BONUS POINTS checklist: complete for good vibes and maybe prizes?! 馃く

  • Backfilled missing tests for code in same general area 馃帀
  • Refactored something and made the world a better place 馃専

The import name passed to `ldflags` was incorrect, causing variables in the `version` package to remain unset. This was causing `eksctl version` to show a `-dev` suffix for both release candidates and full releases.

This changelist fixes setting link-time variables for the release version.
@cPu1 cPu1 enabled auto-merge July 24, 2023 13:56
@cPu1 cPu1 merged commit 910c31e into eksctl-io:main Jul 24, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] v0.149.0/0.150.0 prints 0.149.0-dev/0.150.0-dev as version
3 participants