-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add some guidance on contributing and bump version #84
Conversation
GeraldRequired Reviewers
Don't want to be involved in this pull request? Comment |
CODE_OF_CONDUCT.md
Outdated
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.
note: Copied from Wonder Stuff
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.
note: Copied from Wonder Stuff and updated for Gerald specifics.
|
||
### Publishing | ||
|
||
Once changes are landed to `main` and the `dist` directory is up-to-date, you should bump the version in the `package.json` (either major or minor version), commit and land that change to `main` via a PR, and then create a tag in the format `vX.Y` where `X.Y` is the version number. Then push the tag to GitHub with `git push --tags`. |
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.
note: This was the main reason I added this. I wanted to document the process for future me (and others).
@@ -1,5 +1,5 @@ | |||
{ | |||
"version": "3.4.0", | |||
"version": "4.0.0", |
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.
note: Bump to v4 ready for tagging, to test out the updated autofix action. Major bump due to the Node 20 stuff.
@@ -42,6 +42,6 @@ jobs: | |||
run: yarn build | |||
if: steps.paths_src_.outputs.changed == 'true' | |||
|
|||
- uses: Khan/autofix-commit-action@master | |||
- uses: Khan/autofix-commit-action@main |
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.
note: Caught this because I was still getting Node16 deprecation warnings after fixing that in the Khan/autofix-commit-action
repo.
Includes src file change to ensure we test the build case
…o detect changed files
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.
Great, thank you Jeff!
Summary:
This PR adds a
CODE_OF_CONDUCT.md
andCONTRIBUTING.md
file to the repository, which were copied from Wonder Stuff before tweakingCONTRIBUTING.md
to cover Gerald's specifics.This also bumps the
package.json
to version4.0.0
, ready for a new tag once this lands.This PR also should test the updated autofix action, which hopefully means no more Node16 deprecation warnings.
Issue: FEI-5545
Test plan:
I did a
yarn build
locally to check thedist
changes. Pushing this PR up should trigger our workflow runs to verify they are correct.