Sha256: c818adea71c87421921de4959ec9bf3e744afed9c5d4b5708f8b1f72f317459d

Contents?: true

Size: 1.81 KB

Versions: 37

Compression:

Stored size: 1.81 KB

Contents

# Release steps

1. create a `release-[x.y.z]` branch from tip of `main` (or whatever release commit)

   ```bash
   git checkout main && git pull && git checkout -b release-2.1.0
   ```

2. bump `package.json` + update CHANGELOG version links for all releasing packages (i.e., root + any resolvers)

   In changelog for core plugin, normally leave [Unreleased] but update its link at the bottom
   to be rooted at the new version's tag, and add a link for the new version rooted
   at last version's tag.

   ```markdown
   [Unreleased]: https://github.com/import-js/eslint-plugin-import/compare/v2.0.1...HEAD
   [2.0.1]: https://github.com/import-js/eslint-plugin-import/compare/v2.0.0...v2.0.1
   ```

   becomes

   ```markdown
   [Unreleased]: https://github.com/import-js/eslint-plugin-import/compare/v2.1.0...HEAD
   [2.1.0]: https://github.com/import-js/eslint-plugin-import/compare/v2.0.1...v2.1.0
   [2.0.1]: https://github.com/import-js/eslint-plugin-import/compare/v2.0.0...v2.0.1
   ```

   Generally, don't use `npm version` for this because it creates a tag, which I normally
   wait until signoff from contributors and actually `npm publish`-ing to snap the tag.

3. create pull request from `release-[x.y.z]` into `release` branch

   I like this because it
   - lists all commits in the release
   - provides a commentary location to discuss the release
   - builds in CI and provides test results

4. iterate on feedback
   - handle other issues
   - merge more PRs
   - fix issues in changelog/docs

5. `npm publish` from `release-[x.y.z]` branch
   - don't forget resolvers!

6. tag commit (`v[x.y.z]`)
   - again, not forgetting resolvers, if needed (`resolvers/[name]/v[t.u.v]`)

7. merge `release-[x.y.z]` into `release` (
   - ideally fast-forward, probably with Git CLI instead of Github

8. merge `release` into `main`

Done!

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
immosquare-cleaner-0.1.47 node_modules/eslint-plugin-import/RELEASE.md
immosquare-cleaner-0.1.46 node_modules/eslint-plugin-import/RELEASE.md
immosquare-cleaner-0.1.45 node_modules/eslint-plugin-import/RELEASE.md
immosquare-cleaner-0.1.44 node_modules/eslint-plugin-import/RELEASE.md
immosquare-cleaner-0.1.43 node_modules/eslint-plugin-import/RELEASE.md
immosquare-cleaner-0.1.42 node_modules/eslint-plugin-import/RELEASE.md
immosquare-cleaner-0.1.41 node_modules/eslint-plugin-import/RELEASE.md
immosquare-cleaner-0.1.40 node_modules/eslint-plugin-import/RELEASE.md
immosquare-cleaner-0.1.39 node_modules/eslint-plugin-import/RELEASE.md
immosquare-cleaner-0.1.38 node_modules/eslint-plugin-import/RELEASE.md
immosquare-cleaner-0.1.32 node_modules/eslint-plugin-import/RELEASE.md
immosquare-cleaner-0.1.31 node_modules/eslint-plugin-import/RELEASE.md
immosquare-cleaner-0.1.30 node_modules/eslint-plugin-import/RELEASE.md
immosquare-cleaner-0.1.29 node_modules/eslint-plugin-import/RELEASE.md
immosquare-cleaner-0.1.28 node_modules/eslint-plugin-import/RELEASE.md
immosquare-cleaner-0.1.27 node_modules/eslint-plugin-import/RELEASE.md
immosquare-cleaner-0.1.26 node_modules/eslint-plugin-import/RELEASE.md
immosquare-cleaner-0.1.25 node_modules/eslint-plugin-import/RELEASE.md
immosquare-cleaner-0.1.24 node_modules/eslint-plugin-import/RELEASE.md
immosquare-cleaner-0.1.23 node_modules/eslint-plugin-import/RELEASE.md