Bottr icon indicating copy to clipboard operation
Bottr copied to clipboard

Tag Releases

Open jcampbell05 opened this issue 9 years ago • 4 comments

I should start tagging new releases and look into if it's possible to retroactively tag older versions.

jcampbell05 avatar Sep 16 '16 14:09 jcampbell05

We should be able to do this by specifying the commit's checksum...

Sample commit: 3a7bfbc

$ git tag -a v1.0.0 3a7bfbc

vutran avatar Oct 12 '16 20:10 vutran

@vutran is there a way to figure out the commit for a NPM _ackage ?

jcampbell05 avatar Oct 12 '16 20:10 jcampbell05

npm usually reads from the version specified from package.json.

If you've been using npm version <something> to bump, it should have automatically created git tags locally as well as a new commit that bumps the version in package.json. It makes it really easy to see where the tag points are in the commit history.

vutran avatar Oct 12 '16 21:10 vutran

Cool will try that in future :) and will have to manually tag the older releases I guess.

jcampbell05 avatar Oct 12 '16 21:10 jcampbell05