Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: 🔧 update postinstall script #33

Merged
merged 4 commits into from
Oct 11, 2023

Conversation

fell-lucas
Copy link
Contributor

@fell-lucas fell-lucas commented Oct 10, 2023

Hi. Renovate updated ulidx to 2.2.0 and our pipeline failed. I believed the issue is using the postinstall script to setup git hooks instead of prepare, which runs after npm install.

Because postinstall will run when a dependency installs their packages, while prepare will only ever run locally, not for dependencies of ulidx.

Might close #32

CHANGELOG.md Outdated
## v2.2.1
_2023-10-10_
* [#33](https://github.com/perry-mitchell/ulidx/pull/33): Use prepare instead of postinstall for git hooks

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need for version bump, that's part of my release process :)

package.json Outdated
@@ -1,6 +1,6 @@
{
"name": "ulidx",
"version": "2.2.0",
"version": "2.2.1",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here..

@perry-mitchell
Copy link
Owner

Thanks for this! I'll get it released in a moment.

@perry-mitchell perry-mitchell merged commit 70cae98 into perry-mitchell:main Oct 11, 2023
@perry-mitchell
Copy link
Owner

Released under 2.2.1. Thanks for spotting and sorry for the inconvenience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error Installing / upgrading to v2.2.0 due to post:install command dependency on simple-git-hooks
2 participants