GraphQL Metadata follows semantic versioning. Please ensure the release version you create follows this.
- Create a new branch from master:
git checkout -b chore/release-x.x.x
(x.x.x represents the new version). - Change the package.json version to the new version.
- Create a commit:
chore(release): release version x.x.x
. - Push your branch and create a pull request to master.
- Once merged, you can publish the release through Git tagging or GitHub.
If your a creating a pre-release, you do not need to update the package.json
. To trigger a pre-release, append the version with -xxx
; for example: 1.0.0-beta1
. You can do this by following the Git tagging or GitHub steps below.
git tag x.x.x
(x.x.x being the new version).git push origin x.x.x
.- Go to the release tag in GitHub and click Edit tag.
- Update the Release title to
x.x.x
. - If it is a pre-release, tick the This is a pre-release checkbox.
- In the description, add the release notes from the CHANGELOG.
- The release workflow will be triggered. You can monitor progress in the GitHub Actions view.
See Git tagging for a complete guide on this process.
- Create a new release through the releases view.
- Set the Tag version to your release version:
x.x.x
. - Set the Release title to your release version:
x.x.x
. - If it is a pre-release, tick the This is a pre-release checkbox.
- In the description, add the release notes from the CHANGELOG.
See creating releases through GitHub for the official guide on this process.