Skip to content
This repository was archived by the owner on Dec 30, 2022. It is now read-only.

Commit e8d72cb

Browse files
chore(release): update Hooks example dependency on release (#3173)
1 parent c744010 commit e8d72cb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ship.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ module.exports = {
4747

4848
// update version in packages & dependencies
4949
exec(`lerna version ${version} --no-git-tag-version --no-push --yes`);
50+
51+
// @TODO: We can remove after initial npm release of `react-instantsearch-hooks`
52+
// We update the Hooks package dependency in the example because Lerna doesn't
53+
// and releasing fails because the Hooks package has not yet been released on npm.
54+
exec(
55+
`yarn workspace hooks-example upgrade react-instantsearch-hooks@${version}`
56+
);
5057
},
5158
shouldPrepare: ({ releaseType, commitNumbersPerType }) => {
5259
const { fix = 0 } = commitNumbersPerType;

0 commit comments

Comments
 (0)