Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.28 KB

RELEASING.md

File metadata and controls

48 lines (34 loc) · 1.28 KB

Releasing @shopify/prettier-plugin-liquid

  1. Check the Semantic Versioning page for info on how to version the new release: http://semver.org

  2. Run the following command to update the version in package.json and replace the VERSION placeholder in the documentation for new configuration variables:

    export VERSION="X.X.X"
    yarn prerelease
  3. Run git changelog to update CHANGELOG.md.

    git changelog
  4. 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"
  5. Merge your PR to main.

  6. Push the tag

    git tag v$VERSION
    git push origin v$VERSION
  7. On Shipit, deploy your commit.

  8. 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)