Skip to content

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:

  1. git checkout <hash> the commit you want to mark as the latest commit on the release
  2. 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)
  3. Push the tag using git push origin v1.1.0
Clone this wiki locally