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

feat: node to LTS to support github actions release #522

Merged
merged 5 commits into from
Nov 12, 2022

Conversation

randi274
Copy link
Contributor

@randi274 randi274 commented Nov 11, 2022

What does this PR do?

Bumps node to LTS-1 (v16.0.0) as we were having issues publishing with a greatly outdated node version.

What issues does this PR fix or reference?

Continuing improvements to #521.

BREAKING CHANGE: Major node version change requires devs to update to 16.0.*

BREAKING CHANGE: Major node version change requires devs to update to 18.11.*
@randi274 randi274 requested a review from a team as a code owner November 11, 2022 23:18
Copy link
Contributor

@gbockus-sf gbockus-sf left a comment

Choose a reason for hiding this comment

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

🚢

skip-version-file: true
skip-on-empty: false
output-file: false
pre-commit: ./scripts/bump-lerna-version.js
Copy link
Contributor

Choose a reason for hiding this comment

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

hummmmm insteresting. So the conventional-changelog is also going to try and bump the version in package.json. Does skip-version-file take care of that for us I guess? Does bump-lerna-version also do a commit to commit all the packge.*json updates?

I'm wondering if we just need to do the version bump in learn as a separate step that happens before (or maybe even instead of) the change log thing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So the reason I like to have it here is so the math is the same for the version + the git tag. Conventional changelog decides what the version should be and passes it to the bump-lerna-version script for us to read and just set, rather than having to decide that separately. We don't seem to have any option to set the version into conventional changelog... so this is the way.

Copy link
Contributor

Choose a reason for hiding this comment

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

gotcha, makes sense. I was just looking at the error and can't understand why it's beefing about the export in that preCommit script.

@randi274 randi274 changed the title feat: node to LTS to support release feat: node to LTS to support github actions release Nov 11, 2022
@randi274 randi274 merged commit 230ea39 into main Nov 12, 2022
@randi274 randi274 deleted the randi/manual-release-2 branch November 12, 2022 00:25
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.

2 participants