-
Check the Semantic Versioning page for info on how to version the new release: http://semver.org
-
Run the following command to update the version in
package.json
and replace theVERSION
placeholder in the documentation for new configuration variables:export VERSION="X.X.X" yarn prerelease
-
Run
git changelog
to updateCHANGELOG.md
.git changelog
-
Commit your changes and make a PR.
git checkout -b "bump/v$VERSION" git add CHANGELOG.md package.json src/index.ts playground/index.html git commit -m "Bump version to $VERSION" git push origin "bump/v$VERSION" gh pr create --base="main" --head="Shopify:bump/v$VERSION"
-
Merge your PR to main.
-
Push the tag
git tag v$VERSION git push origin v$VERSION
-
On Shipit, deploy your commit.
-
Create a GitHub release for the change.
git fetch origin git fetch origin --tags git reset origin v$VERSION gh release create -t v$VERSION
(It's a good idea to copy parts of the CHANGELOG in there)
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.