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

Trigger npm publish when a release/pre-release is created #53

Merged
merged 3 commits into from
Aug 18, 2022

Conversation

ramirotw
Copy link
Contributor

As discussed, we should be publishing npm packages when creating new releases and not doing it manually to avoid losing sync between npm versions and releases as we have now with 1.0.0-RC.0

image

image

git tag -m "Version $version" --end-of-options "$version_tag"

git push origin "refs/tags/$version_tag"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

tags must be created through the Releases UI

@coveralls
Copy link
Collaborator

coveralls commented Jul 21, 2022

Coverage Status

Coverage remained the same at 76.201% when pulling fba8c04 on ramirotw/publish into 6c4c802 on main.

@github-actions
Copy link

github-actions bot commented Jul 21, 2022

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 0 0
Ignored 0 N/A
  • Result: ✅ success
  • Annotations: 0 total

Report generated by eslint-plus-action

Copy link
Contributor

@alfetopito alfetopito left a comment

Choose a reason for hiding this comment

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

Wow, is that all there's to it?
That's extremely simple.

And we also talked about this internally last week.

The only concern that I have with this now is that what can happen is the package.json version not match the release's version.

Left a comment below with a suggestion to address that

src/workflows/publish.sh Outdated Show resolved Hide resolved
Copy link
Contributor

@alfetopito alfetopito left a comment

Choose a reason for hiding this comment

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

👏

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.

4 participants