Chart and image versioning, and Chart.yaml's --reset interaction #52
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 is a continuation of @minrk's PR #33 where I implement my suggestion in #33 (comment).
+<n_commits_since_tag>.<last_chart_modifying_commit>
, which results in a valid formatted SemVer 2 version.+
is replaced with_
to comply with the allowed characters of docker tags.--reset
interaction be to reset the version field to something fixed. This closes PR Discussion: chartpress --reset on the Chart.yaml #44 using the idea in PR Discussion: chartpress --reset on the Chart.yaml #44 (comment). This change required the first point.Example diff after chartpress is run on Z2JH
Note how it claims that the latest tag is 0.8.0, and that is actually true, it is the latest tagged commit in the git history of z2jh's master. For some reason, 0.8.1 and 0.8.2 tags commit not part of the master commit history. I consider this something that should be fixed in z2jh rather than adjust this PRs chartpress logic which I think makes sense.