Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

Conversation

@jonathanwangg
Copy link
Contributor

Description:

Include version-from-git as a devDependency in order to automatically increment the version number in package.json and append the short commit hash (e.g. 1.2.3-a1b2c3).
npm: https://www.npmjs.com/package/version-from-git
GitHub: https://github.com/compulim/version-from-git

Type of change

  • New feature (non-breaking change which adds functionality)

Limitations:

None

Testing:

Check that the build pipeline properly updates the version number and appends the commit hash to the package.json file.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

Copy link
Member

@LukeSlev LukeSlev left a comment

Choose a reason for hiding this comment

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

WOW COOL CHANGE DUDE

@jonathanwangg jonathanwangg merged commit 556bebf into dev Aug 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants