Create v2 tag and update version to 2.0.0 #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR creates the requested v2 tag for the ee-cli project and updates the version system to properly display version 2.0.0.
Changes Made
Version System Updates
VERSIONin Makefile from0.1.0to2.0.0LDFLAGSwas trying to setmain.Versionbut the actual variable inmain.goismain.version(lowercase)Git Tags Created
v2.0.0with message "Release 2.0.0"v2with message "Release v2" (as specifically requested)Issue Fixed
The version injection during build was broken due to the case mismatch between the LDFLAGS (
main.Version) and the actual Go variable (main.version). This caused the built binary to always show "dev" instead of the intended version number.Verification
After the changes:
The version is now correctly injected at build time and both requested tags have been created successfully. All existing tests continue to pass.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.