Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.1 KB

README.md

File metadata and controls

25 lines (18 loc) · 1.1 KB

JavaScript and TypeScript

Building & Publishing

Make sure you are starting from an up to date master branch.

  1. Create a new branch: git checkout -b release/1.2.3

  2. Navigate to the directory of the project you wish to publish

  3. Update the CHANGELOG.md file to reflect the changes to be published

  4. If the project has extra steps to run before publication (ie: test, compile, etc.), run them

  5. Configure your username and email: yarn login

  6. Publish: yarn publish.

    When asked for the new version, respect semver:

    • Majors are for breaking changes. ie: Adding a new linting rule may break projects, so this is a new major.
    • Minors are for new features.
    • Patches are for bug fixes.

    Yarn will automatically create a commit for this new version and tag it appropriately.

    If you have 2FA enabled on your account, you must use Yarn >=1.12.

  7. Push your branch and tag: git push origin HEAD; git push origin tslint-config-1.2.3

  8. Open a Pull Request on GitHub: https://github.com/kronostechnologies/standards/compare/master...release/1.2.3