ci: migrate from standard-version
to release-please
#1593
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.
Description
This PR implements the "manifest releaser" scheme for the
release-please
tool, replacing Spoke's use of the older release management toolstandard-version
.Reviewer / merger note
This PR needs to merge in the following order:
RELEASEPLS_GITHUB_PAT
repository secretbootstrap PR generated with the following steps
lediur:build/release-please
topolitics-rewired/Spoke:build/release-please
release-please
bootstrap process (example at chore(build/release-please): release 6.2.0-rc.1 lediur/Spoke#1)generate a temporary personal access token by going to Settings > Developer Settings > Personal Access Tokens > Fine-grained Tokens. You should grant the token access to read metadata, read and write access to actions, code, and pull requests on
politics-rewired/Spoke
generate the "bootstrap" PR by running:
After this PR merges, subsequent merges to
main
should automatically generate and update a release PR to the next version.release-please
is set up to detect the next semver automatically based on commit prefixes, but it doesn't handle semver suffixes like-rc.X
that well, so right now, this PR manually pins the next version to6.2.0-rc.1
viarelease-as
in therelease-please-config.json
.I can revert to automatic next version detection or rebuild the initial bootstrap PR some other version (building a
6.1.4
?) as desired.Motivation and Context
Resolves #1429
How Has This Been Tested?
Locally and with a fork of the Spoke repo (see lediur#1 for an example bootstrap PR by the tool)
Screenshots (if appropriate):
See above links
Documentation Changes
No user-facing changes, only documentation and release ceremony changes for Spoke contributors.
TODO
release-please
Checklist: