KEMBAR78
docs: update README description to match code example by kevin-cho · Pull Request #370 · semantic-release/npm · GitHub
Skip to content

Conversation

@kevin-cho
Copy link
Contributor

Even though the example shows

{
  "scripts": {
    "postversion": "cp -r package.json .. && cp -r npm-shrinkwrap.json .."
  }
}

The description above it mentions using postpublish instead. I used postpublish in my workflow and ran into an issue where this hook is triggered after @semantic-release/git determined what files to commit.
My exact situation was explained from the FAQ section, so I'm hoping to update the docs here.

Copy link
Member

@gr2m gr2m left a comment

Choose a reason for hiding this comment

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

thank you!

@gr2m gr2m merged commit e0d2ad1 into semantic-release:master May 31, 2021
@github-actions
Copy link

🎉 This PR is included in version 8.0.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

🎉 This PR is included in version 8.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants