Skip to content

Releases: algolia/shipjs

v0.20.0

16 Jun 21:56
e5a6cd2
Compare
Choose a tag to compare

0.20.0 (2020-06-16)

BREAKING CHANGE

BREAKING CHANGE

From this version, mergeStrategy no longer exists.

If you don't know what it is,

Make sure you run shipjs trigger only on the branches you've specified.

If you have a CircleCI config like the following:

version: 2
jobs:
  shipjs_trigger:
    docker:
      - image: "circleci/node:latest"
    steps:
      - checkout
      - run:
          name: Install
          command: yarn install
      - run:
          name: Triggering Ship.js to Release
          command: yarn shipjs trigger
workflows:
  version: 2
  release_if_needed:
    jobs:
      - shipjs_trigger

then, modify the last part like the following:

workflows:
  version: 2
  release_if_needed:
    jobs:
      - shipjs_trigger:
          filters:
            branches:
              only:
                - master # or whatever branch you'd like (normally your base branch)

This ensures shipjs trigger runs only on the specified branches.

If you were using mergeStrategy,

Ship.js used to have toSameBranch and toReleaseBranch strategies. Now they're gone and it only works like toSameBranch strategy. As explained above, you need to specify branches where to run shipjs trigger, though.

If you were using toReleaseBranch, there is a workaround. You can read Release Snapshot to achieve what you used to do.

Bug Fixes

  • prepare: return correct releaseType (#885) (7d918f6)
  • setup: get correct remote branches (#883) (551dde0)
  • setup: update circleci node version to v12 (#884) (6579294)
  • setup: use current branch when there is no remote at setup flow (#881) (5a0e152)

v0.20.0-beta.3

15 Jun 12:41
6543174
Compare
Choose a tag to compare

0.20.0-beta.3 (2020-06-15)

Bug Fixes

  • prepare: return correct releaseType (#885) (7d918f6)
  • setup: get correct remote branches (#883) (551dde0)
  • setup: update circleci node version to v12 (#884) (6579294)

v0.20.0-beta.2

14 Jun 21:26
bdb7380
Compare
Choose a tag to compare

0.20.0-beta.2 (2020-06-14)

Bug Fixes

  • setup: use current branch when there is no remote at setup flow (#881) (5a0e152)

v0.20.0-beta.1

07 Jun 19:35
eef6248
Compare
Choose a tag to compare

v0.20.0-beta.0

07 Jun 19:00
18327c8
Compare
Choose a tag to compare

v0.19.0

12 May 11:41
95cd50d
Compare
Choose a tag to compare

0.19.0 (2020-05-12)

Features

  • force push to protected branch with explicit config (#813) (3647853)

v0.18.4

08 May 10:09
2a7756c
Compare
Choose a tag to compare

0.18.4 (2020-05-08)

Bug Fixes

  • actions: fix ejs syntax (#801) (8055a9f)
  • release: push to correct branch in toReleaseBranch strategy (#803) (1367315)

v0.18.3

04 May 14:18
448c0ee
Compare
Choose a tag to compare

0.18.3 (2020-05-04)

Bug Fixes

  • actions: add fetch-depth and git fetch (#778) (994e4ff)
  • deps: update dependency shelljs to v0.8.4 (#776) (b70fc24)
  • release: skip running publishCommand if nullish (#793) (eb62c8d)

v0.18.2

07 Apr 09:10
2eb44ad
Compare
Choose a tag to compare

0.18.2 (2020-04-07)

Bug Fixes

  • prepare: fix wrong comparison url in the PR summary when getTagName is overridden in ship.config.js (#753) (4a40920)

v0.18.1

03 Apr 08:28
71ca86a
Compare
Choose a tag to compare

0.18.1 (2020-04-03)

Bug Fixes

  • deps: update dependency prettier to v2 (#732) (96d6ff2)
  • prepare: respect custom tag name when getting a revision range (#751) (a1baa93)