-
Notifications
You must be signed in to change notification settings - Fork 18
Releases and tagging
Kasia Szawan edited this page Sep 25, 2018
·
2 revisions
In order to make a new release, you need to create a tag on a specific moment of the history.
The easiest way to do it is the following:
-
git checkout <hash>
the commit you want to mark as the latest commit on the release - Tag the commit using the timestamp of this commit to maintain chronology:
GIT_COMMITTER_DATE="$(git show --format=%aD | head -1)" git tag -a v1.1.0
- this can be an annotated tag (with `-a') or a lightweight tag (not asking about typing the message of the release) - Push the tag using
git push origin v1.1.0