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

Automate release process #10451

Closed
sjohnr opened this issue Oct 28, 2021 · 4 comments
Closed

Automate release process #10451

sjohnr opened this issue Oct 28, 2021 · 4 comments
Assignees
Labels
Epic in: build An issue in the build type: task A general task
Milestone

Comments

@sjohnr
Copy link
Member

sjohnr commented Oct 28, 2021

This issue lists the required tasks for automating the release. I've organized the release process (see RELEASE.adoc) into four stages:

  1. Prepare release - This stage updates dependencies. It could be performed up to a week prior to the release.
  2. Perform release - This stage pushes artifacts to Maven Central and creates a github release.
  3. Prepare next iteration - This stage performs milestone management.
  4. Announce release - This stage let's the team and/or community know the release is complete. Some of the steps may not be automated.

Prepare Release

inputs:

  • nextVersion - Version being released

tasks:

Perform Release

inputs:

tasks:

Prepare Next Iteration

inputs:

  • previousVersion - Version just released
  • nextVersion - Next milestone version

tasks:

Announce Release

inputs:

  • nextVersion - Version being released

tasks:

@sjohnr sjohnr added in: build An issue in the build type: task A general task labels Oct 28, 2021
@sjohnr sjohnr added this to the 5.6.0 milestone Oct 28, 2021
@sjohnr sjohnr self-assigned this Oct 28, 2021
@sjohnr sjohnr modified the milestones: 5.6.0, 5.7.x Nov 2, 2021
@sjohnr
Copy link
Member Author

sjohnr commented Jan 14, 2022

Note: Need to handle milestones being released to repo.spring.io/milestone vs repo1.maven.org/maven2 during the "wait for release to appear on Maven Central" step.

eleftherias added a commit to eleftherias/spring-security that referenced this issue Feb 3, 2022
Add 2 Gradle tasks, one that calculates the next release milestone based on the current version and one that checks if it is due today.

Issue spring-projectsgh-10451
Issue spring-projectsgh-10455
eleftherias added a commit that referenced this issue Feb 3, 2022
Add 2 Gradle tasks, one that calculates the next release milestone based on the current version and one that checks if it is due today.

Issue gh-10451
Issue gh-10455
eleftherias added a commit that referenced this issue Mar 1, 2022
eleftherias added a commit that referenced this issue Mar 1, 2022
- Check that all associated issues are closed
- Update gradle.properties and push change

Issue gh-10451
@sjohnr
Copy link
Member Author

sjohnr commented Mar 22, 2022

@eleftherias I added gh-11020 and gh-11021 for updating antora.yml, and gh-11022 as well as gh-11023 to handle triggering CI updates. These are the issues I encountered with the automation during the 6.0.0-M2 release.

@sjohnr
Copy link
Member Author

sjohnr commented Jun 3, 2022

Note: I've moved the open issues associated with release automation into the 6.0.x bucket to manage them all together. I will be creating a single issue for each maintenance branch that the automation is being backported to when adding all of this work to each respective branch.

@sjohnr
Copy link
Member Author

sjohnr commented Jul 20, 2022

Closing the epic as the currently planned work is completed. Some tasks remain undone and can be scheduled and worked as needed in the future.

@sjohnr sjohnr closed this as completed Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Epic in: build An issue in the build type: task A general task
Projects
Archived in project
Development

No branches or pull requests

1 participant