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

Enable GitHub Actions publishing #83

Merged
merged 1 commit into from
Sep 15, 2020

Conversation

friederbluemle
Copy link
Member

This enables publishing of new releases to npm via GitHub Actions, reducing the "manual" steps to two simple commands:

  1. npm version <major|minor|patch>
  2. git push --follow-tags

The first command updates the version in package.json, commits the changes, and creates a tag. The second command pushes both the commit and tag in a single operation. That's it!

Once GitHub Actions sees a new version tag, it will take care of the rest: Publishing the new version to npm. The required token (NPM_TOKEN) has already been added to this repo.

@belemaire belemaire self-requested a review September 15, 2020 17:37
Copy link
Member

@belemaire belemaire left a comment

Choose a reason for hiding this comment

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

Great ! Thanks 👍

@friederbluemle friederbluemle merged commit 963950e into electrode-io:master Sep 15, 2020
@friederbluemle friederbluemle deleted the publish branch September 15, 2020 18:21
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