[LFXV2-1092] Use git tag for dynamic helm chart versioning#6
Merged
Conversation
- Update ko-build-tag.yaml to use git tag instead of Chart.yaml version - Set Chart.yaml version to 0.0.1 with comment explaining dynamic replacement - Add documentation to README about chart versioning process This matches the implementation in voting service PR #13, ensuring consistent versioning across services where the chart version is automatically set from the git tag during release. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: Andres Tobon <andrest2455@gmail.com>
There was a problem hiding this comment.
Pull request overview
This pull request implements dynamic Helm chart versioning to align with the standardized pattern used across LFX v2 services. Instead of manually managing chart versions in Chart.yaml, versions are now automatically derived from git tags during the release process, establishing git tags as the single source of truth for versioning.
Changes:
- Modified GitHub Actions workflow to extract chart version from git tags instead of Chart.yaml
- Reset Chart.yaml version from 0.1.2 to 0.0.1 (placeholder) with explanatory comment
- Added documentation to README explaining the dynamic versioning behavior
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/workflows/ko-build-tag.yaml |
Updated to extract chart version from git tag (github.ref_name) instead of reading from Chart.yaml |
charts/lfx-v2-survey-service/Chart.yaml |
Reset version to 0.0.1 placeholder with comment explaining dynamic replacement during release |
README.md |
Added documentation explaining chart versioning process and that Chart.yaml version should not be manually incremented |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…-service into andrest50/chart-version
mauriciozanettisalomao
approved these changes
Mar 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Implement dynamic helm chart versioning to match the pattern established in voting service PR #13, where chart versions are automatically derived from git tags rather than manually managed in Chart.yaml.
Ticket
LFXV2-1092
Changes
GitHub Actions Workflow Update
Updated the "Prepare versions and chart name" step to extract chart version from git tag instead of Chart.yaml.
Helm Chart Configuration
Documentation Update
Added documentation explaining chart versioning behavior: The chart version in Chart.yaml is set to 0.0.1 and should not be manually incremented. During the release process, the chart version is dynamically set to match the Git tag version.
Benefits
Example
When creating a release:
Related