docs(versions): Dynamically determine latest stable & deprecated #203
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.
Part of: spinnaker/spinnaker#6678
This function can be removed: https://github.com/spinnaker/buildtool/blob/master/dev/buildtool/changelog_commands.py#L552
This removes the need to add a tag
deprecated
to previous versionsduring the release process.
Before this change when 1.27.1 is released, 1.27.0 changelog file needs
to be updated with
deprecated
tag.Overall we can do this by leveraging some key ideas:
date: 2022-05-02 23:37:12 +0000
section infrontmatter that is never changed. This means a newer patch version
for any
{major.minor}
will always have a newerdate
.3 {major.minor} versions/branches.