Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag older releases #17

Open
Arcanemagus opened this issue Sep 19, 2016 · 0 comments
Open

Tag older releases #17

Arcanemagus opened this issue Sep 19, 2016 · 0 comments

Comments

@Arcanemagus
Copy link

It would be helpful for seeing the state of the code at specific versions if each of them were tagged here in the repo instead of just released on NPM.

To tag older versions with the proper timestamp you can use a script like the following on Windows:

tag-release.ps1:

param([string]$version = "")
$message=(git log -1 --pretty=%B | head -1)
$env:GIT_COMMITTER_DATE=(git show --format=%aD | head -1)
git tag -a "$version" -m "$message"

This is a slightly modified version of this answer which has a version for *NIX shells.

@Arcanemagus Arcanemagus changed the title Tag releases Tag older releases Sep 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant