Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.22 KB

RELEASING.md

File metadata and controls

44 lines (31 loc) · 1.22 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.

  4. Commit your changes and make a PR.

    git checkout -b "bump/v$VERSION"
    git add CHANGELOG.md package.json src/index.ts
    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)