-
Notifications
You must be signed in to change notification settings - Fork 59
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
fix: specify node18, semantic release with exec and git plugins #808
Conversation
Signed-off-by: Frank Flitton <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #808 +/- ##
=======================================
Coverage 63.37% 63.37%
=======================================
Files 527 527
Lines 13362 13362
Branches 2540 2540
=======================================
Hits 8468 8468
Misses 4894 4894
|
Signed-off-by: Frank Flitton <[email protected]>
Signed-off-by: Frank Flitton <[email protected]>
Signed-off-by: Frank Flitton <[email protected]>
Signed-off-by: Frank Flitton <[email protected]>
Signed-off-by: Frank Flitton <[email protected]>
Signed-off-by: Frank Flitton <[email protected]>
Signed-off-by: Frank Flitton <[email protected]>
Signed-off-by: Frank Flitton <[email protected]>
Signed-off-by: Frank Flitton <[email protected]>
const packageJson = JSON.parse(fs.readFileSync('./package.json', 'utf8')); | ||
packageJson.version = version; | ||
|
||
console.log('Writing new package.json contents.'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this dupe work of make update_npmversion
(makefile ln 58)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not exactly.. this script doesn't update the root pacjage.json version which @semantic-release/npm
would. I moved the functionality into a bash script inside the /scripts folder. The new script updates both root and /website package.json files when ran.
Signed-off-by: Frank Flitton <[email protected]>
🎉 This PR is included in version 1.9.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
TL;DR
Unblock semantic release errors
Type
Are all requirements met?
Complete description
Bypass failing @semantic-release/npm failure release pipeline failure by recreating
npm versions
with @semantic-release/exec and @semantic-release/git.Updated other parts of the config to match latest versions of semantic-release docs.
Added missing deps for easier reproducibility and debugging.