Sha256: 6304ccea95287b723b73bcf68c221898836c357f677f414d0cdaa3e183a57be3

Contents?: true

Size: 1.39 KB

Versions: 7

Compression:

Stored size: 1.39 KB

Contents

## Releasing Theme Check

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 `lib/theme_check/version.rb` and replace the `THEME_CHECK_VERSION` placeholder in the documentation for new rules:

   ```bash
   VERSION="X.X.X"
   rake prerelease[$VERSION]
   ```

3. Commit your changes and make a PR.

4. Merge your PR to master.

5. On [Shipit](https://shipit.shopify.io/shopify/theme-check/rubygems), deploy your commit.

## Homebrew Release Process

1. Release `theme-check` on RubyGems by following the steps in the previous section.

2. Generate the homebrew formula.

   ```bash
   rake package
   ```

3. Copy the formula over in the [`homebrew-shopify`](https://github.com/Shopify/homebrew-shopify) repository.

   ```bash
   VERSION=X.X.X
   cp packaging/builds/$VERSION/theme-check.rb ../homebrew-shopify
   ```

4. Create a branch + a commit on the [`homebrew-shopify`](https://github.com/Shopify/homebrew-shopify) repository.

   ```bash
   git checkout -b "bump/theme-check-$VERSION"
   git add theme-check.rb
   git commit -m "Bump theme-check version to $VERSION"
   ```

5. Create a pull-request for those changes on the [`homebrew-shopify`](https://github.com/Shopify/homebrew-shopify) repository.

   ```bash
   # shortcut if you have `hub` installed
   hub compare "master:bump/theme-check-$VERSION"
   ```

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
theme-check-0.8.2 RELEASING.md
theme-check-0.8.1 RELEASING.md
theme-check-0.8.0 RELEASING.md
theme-check-0.7.3 RELEASING.md
theme-check-0.7.2 RELEASING.md
theme-check-0.7.1 RELEASING.md
theme-check-0.7.0 RELEASING.md