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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(buildtool): Auto-deprecate old Spinnaker versions #43

Merged
merged 1 commit into from
Mar 16, 2020
Merged

chore(buildtool): Auto-deprecate old Spinnaker versions #43

merged 1 commit into from
Mar 16, 2020

Conversation

ezimanyi
Copy link
Contributor

The publish_changelog function in the buildtool currently publishes a new changelog for the newly-released Spinnaker version. After publishing a patch version, the release manager needs to manually edit the spinnaker.github.io repository to deprecate the prior patch version, which is unnecessary manual toil.

This change updates the publish_changelog so that, in addition to publishing a new changelog, it also deprecates the changelog corresponding to the prior patch release. If this is the first patch release of a minor version, it will short-circuit and will not deprecate anything. (Maybe at some point we could update it to deprecate the last patch release of the N-3 minor version but for now that will stay manual.)

This also adds a newline at the end of each generated changelog, as this always gets added when eventually deprecating it (whether manually or via this script), increasing the diff.

The publish_changelog function in the buildtool currently
publishes a new changelog for the newly-released Spinnaker version.
After publishing a patch version, the release manager needs to
manually edit the spinnaker.github.io repository to deprecate the
prior patch version, which is unnecessary manual toil.

This change updates the publish_changelog so that, in addition to
publishing a new changelog, it also deprecates the changelog
corresponding to the prior patch release. If this is the first
patch release of a minor version, it will short-circuit and will
not deprecate anything. (Maybe at some point we could update it
to deprecate the last patch release of the N-3 minor version but
for now that will stay manual.)

This also adds a newline at the end of each generated changelog,
as this always gets added when eventually deprecating it (whether
manually or via this script), increasing the diff.
Copy link
Contributor

@maggieneterval maggieneterval left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚘 ⬇️ 📆 ⛵️ 🔢 🎉

@ezimanyi ezimanyi merged commit 1c94dcf into spinnaker:master Mar 16, 2020
@ezimanyi ezimanyi deleted the auto-deprecate branch March 16, 2020 21:34
@ezimanyi
Copy link
Contributor Author

@spinnakerbot cherry-pick 1.19
@spinnakerbot cherry-pick 1.18
@spinnakerbot cherry-pick 1.17

spinnakerbot pushed a commit that referenced this pull request Mar 20, 2020
The publish_changelog function in the buildtool currently
publishes a new changelog for the newly-released Spinnaker version.
After publishing a patch version, the release manager needs to
manually edit the spinnaker.github.io repository to deprecate the
prior patch version, which is unnecessary manual toil.

This change updates the publish_changelog so that, in addition to
publishing a new changelog, it also deprecates the changelog
corresponding to the prior patch release. If this is the first
patch release of a minor version, it will short-circuit and will
not deprecate anything. (Maybe at some point we could update it
to deprecate the last patch release of the N-3 minor version but
for now that will stay manual.)

This also adds a newline at the end of each generated changelog,
as this always gets added when eventually deprecating it (whether
manually or via this script), increasing the diff.
@spinnakerbot
Copy link
Collaborator

Cherry pick successful: #55

spinnakerbot pushed a commit that referenced this pull request Mar 20, 2020
The publish_changelog function in the buildtool currently
publishes a new changelog for the newly-released Spinnaker version.
After publishing a patch version, the release manager needs to
manually edit the spinnaker.github.io repository to deprecate the
prior patch version, which is unnecessary manual toil.

This change updates the publish_changelog so that, in addition to
publishing a new changelog, it also deprecates the changelog
corresponding to the prior patch release. If this is the first
patch release of a minor version, it will short-circuit and will
not deprecate anything. (Maybe at some point we could update it
to deprecate the last patch release of the N-3 minor version but
for now that will stay manual.)

This also adds a newline at the end of each generated changelog,
as this always gets added when eventually deprecating it (whether
manually or via this script), increasing the diff.
@spinnakerbot
Copy link
Collaborator

Cherry pick successful: #56

spinnakerbot pushed a commit that referenced this pull request Mar 20, 2020
The publish_changelog function in the buildtool currently
publishes a new changelog for the newly-released Spinnaker version.
After publishing a patch version, the release manager needs to
manually edit the spinnaker.github.io repository to deprecate the
prior patch version, which is unnecessary manual toil.

This change updates the publish_changelog so that, in addition to
publishing a new changelog, it also deprecates the changelog
corresponding to the prior patch release. If this is the first
patch release of a minor version, it will short-circuit and will
not deprecate anything. (Maybe at some point we could update it
to deprecate the last patch release of the N-3 minor version but
for now that will stay manual.)

This also adds a newline at the end of each generated changelog,
as this always gets added when eventually deprecating it (whether
manually or via this script), increasing the diff.
@spinnakerbot
Copy link
Collaborator

Cherry pick successful: #57

ezimanyi added a commit that referenced this pull request Mar 20, 2020
The publish_changelog function in the buildtool currently
publishes a new changelog for the newly-released Spinnaker version.
After publishing a patch version, the release manager needs to
manually edit the spinnaker.github.io repository to deprecate the
prior patch version, which is unnecessary manual toil.

This change updates the publish_changelog so that, in addition to
publishing a new changelog, it also deprecates the changelog
corresponding to the prior patch release. If this is the first
patch release of a minor version, it will short-circuit and will
not deprecate anything. (Maybe at some point we could update it
to deprecate the last patch release of the N-3 minor version but
for now that will stay manual.)

This also adds a newline at the end of each generated changelog,
as this always gets added when eventually deprecating it (whether
manually or via this script), increasing the diff.

Co-authored-by: Eric Zimanyi <ezimanyi@google.com>
ezimanyi added a commit that referenced this pull request Mar 20, 2020
The publish_changelog function in the buildtool currently
publishes a new changelog for the newly-released Spinnaker version.
After publishing a patch version, the release manager needs to
manually edit the spinnaker.github.io repository to deprecate the
prior patch version, which is unnecessary manual toil.

This change updates the publish_changelog so that, in addition to
publishing a new changelog, it also deprecates the changelog
corresponding to the prior patch release. If this is the first
patch release of a minor version, it will short-circuit and will
not deprecate anything. (Maybe at some point we could update it
to deprecate the last patch release of the N-3 minor version but
for now that will stay manual.)

This also adds a newline at the end of each generated changelog,
as this always gets added when eventually deprecating it (whether
manually or via this script), increasing the diff.

Co-authored-by: Eric Zimanyi <ezimanyi@google.com>
ezimanyi added a commit that referenced this pull request Mar 20, 2020
The publish_changelog function in the buildtool currently
publishes a new changelog for the newly-released Spinnaker version.
After publishing a patch version, the release manager needs to
manually edit the spinnaker.github.io repository to deprecate the
prior patch version, which is unnecessary manual toil.

This change updates the publish_changelog so that, in addition to
publishing a new changelog, it also deprecates the changelog
corresponding to the prior patch release. If this is the first
patch release of a minor version, it will short-circuit and will
not deprecate anything. (Maybe at some point we could update it
to deprecate the last patch release of the N-3 minor version but
for now that will stay manual.)

This also adds a newline at the end of each generated changelog,
as this always gets added when eventually deprecating it (whether
manually or via this script), increasing the diff.

Co-authored-by: Eric Zimanyi <ezimanyi@google.com>
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.

3 participants