Skip to content

[WIP] Automatic versions/publish/release#331

Draft
MiltonTulli wants to merge 7 commits intoDXgovernance:developfrom
MiltonTulli:setup-npm-publish
Draft

[WIP] Automatic versions/publish/release#331
MiltonTulli wants to merge 7 commits intoDXgovernance:developfrom
MiltonTulli:setup-npm-publish

Conversation

@MiltonTulli
Copy link
Member

@MiltonTulli MiltonTulli commented Mar 22, 2023

Description

Add new GitHub action to do automatic releases
Release action should be manually trigger.
The process release.yml will do the following:

  • Create a new semantic version with npm according to the input (major, minor, patch), create a tag with the same version, commit & push the change to the update.
  • Publish the npm package with the new version
  • Create a new release with the new tag

Notes:

  • We need to add a new NPM_TOKEN secret in the github repo secrets.
  • Publish manually a v1.0.0 version:
    • checkout to tag v1.0.0
    • install dependencies
    • modify package.json name, files, repository.url, bugs.url, homepage, directories, keywords, author from current version
    • then npm publish --access public
  • Publish manually v2.0.0 version

Demo

https://streamable.com/jgtmc4

@MiltonTulli MiltonTulli marked this pull request as draft March 22, 2023 16:55
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.

1 participant