- Prepare the release by:
- If preparing a minor or major release, merge a PR to
mainto updatefile_format. - Merge a PR to
mainto update the CHANGELOG.md. Changes should be listed under a heading of the form## v{Major}.{Minor}.{Patch} - YYYY-MM-DDunder## Unreleased. Maintainers should highlight any breaking changes. You can use./.github/scripts/draft-change-log-entries.sh <previous_version_tag>or the Github compare tool to view a summary of all commits since last release as a reference. From this point on no new PRs can be merged until the release is complete.
- If preparing a minor or major release, merge a PR to
- Go to
Github release page,
click
Draft a new release. - Click "Choose a tag" and specify the next version number. The Target branch should be "main".
- Click "Generate release notes" to get a draft release notes. Refer
to CHANGELOG.md for a list of changes since last release.
- Call out breaking changes and provide example migration steps (see v0.4.0 for an example).
- Click "Publish Release".
- Open a PR to update
the schemastore entry to include
the new tag. Update the
urlto be the latest, andversionsto include the newly tag. For example ( TODO: update to an update PR after we have one to reference).
Our tags follow the naming convention of v<major>.<minor>.<patch>. Increment minor by 1
and use patch value of 0 for new minor version releases. For patch releases keep minor
unchanged and increment the patch.
Update the file_format: "<major>.<minor> of ./examples and ./snippets as follows:
# Set FILE_FORMAT env var to target version of the release
export FILE_FORMAT=0.4
make update-file-formatMerge a PR with the changes to main.