-
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
lib/theme_check/version.rband replace theTHEME_CHECK_VERSIONplaceholder in the documentation for new rules:VERSION="X.X.X" rake prerelease[$VERSION]
-
Run
git changelogto updateCHANGELOG.md. -
Commit your changes and make a PR.
git checkout -b "bump/theme-check-$VERSION" git add docs/checks CHANGELOG.md lib/theme_check/version.rb git commit -m "Bump theme-check version to $VERSION" hub compare "main:bump/theme-check-$VERSION"
-
Merge your PR to main.
-
On Shipit, deploy your commit.
-
Create a GitHub release for the change.
VERSION=v1.X.Y git fetch origin git fetch origin --tags git reset origin $VERSION gh release create -t $VERSION(It's a good idea to copy parts of the CHANGELOG in there)
-
Release
theme-checkon RubyGems by following the steps in the previous section. -
Generate the homebrew formula.
rake package
-
Copy the formula over in the
homebrew-shopifyrepository.VERSION=X.X.X cp packaging/builds/$VERSION/theme-check.rb ../homebrew-shopify -
Create a branch + a commit on the
homebrew-shopifyrepository.git checkout -b "bump/theme-check-$VERSION" git add theme-check.rb git commit -m "Bump theme-check version to $VERSION"
-
Create a pull-request for those changes on the
homebrew-shopifyrepository.# shortcut if you have `hub` installed hub compare "main:bump/theme-check-$VERSION"
-
Release
theme-checkon RubyGems by following the steps in the previous section. -
Update the
theme-checkversion inshopify-cli'sshopify-cli.gemspecfile. -
Run
bundle update theme-checkand get an updatedGemfile.lock -
Create a branch + a commit on the
shopify-clirepository.VERSION=X.X.X git checkout -b "bump/theme-check-$VERSION" git add Gemfile.lock git add shopify-cli.gemspec git commit -m "Bump theme-check version to $VERSION"
-
Create a pull-request for those changes on the
shopify-clirepository.# shortcut if you have `hub` installed hub compare "main:bump/theme-check-$VERSION"