Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 842 Bytes

PUBLISHING.md

File metadata and controls

23 lines (16 loc) · 842 Bytes

Publishing SFDX-Git-Delta to npm

Here are the steps to publish a version

Prerequisites

  1. Create a github personal token
  2. Use the GitHub personal token generated to set the CONVENTIONAL_GITHUB_RELEASER_TOKEN environment variable. You can use direnv

Create a new Release

$ yarn release

This will:

  • Create a new version based on the commit types from head and package.json version
  • Create a changelog with all the commit from head and the last tag version following keepachangelog
  • Create a new commit with the generated changelog, update package.json
  • Create a new tag following the semver
  • Push this tag to the remote
  • Trigger the new version publish