Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.21 KB

PUBLISH.md

File metadata and controls

48 lines (33 loc) · 1.21 KB

How to publish packages

  1. Enter the master branch and check that pipelines are green
git checkout master
  1. reset your current master branch to the latest state by
git fetch
git reset origin/master --hard
  1. Checkout a new branch that we'll release versions from
git checkout -b release-new-version-[a-b-c]
  1. Start the publishing procedure (**)

    1. Check the current version using npm version
    2. Update the version you would to like to publish npm version [version] # version -> major, minor, patch ... version
    3. Push the branch git push
  2. Publish the package.

npm publish
  1. Open a PR of your release branch and get an approval to finally merge the release it into master
git checkout master && git reset origin/master --hard
git merge origin/release-new-version-[a-b-c] --ff-only
git push origin master
  1. Create a release note (Use template from older release tags https://github.com/signavio/i18n/releases)

    1. Add summary: Describe the changes/packages of this release
    2. Add the release tag created in the previous steps: (v1.2.0)
    3. Add title: # release of i18n packages
  2. Great Job! You've done it. 🎉