...

Text file src/github.com/sigstore/timestamp-authority/release/README.md

Documentation: github.com/sigstore/timestamp-authority/release

     1# Release
     2
     3This directory contain the files and scripts to run a timestamp release.
     4
     5# Cutting a timestamp Release
     6
     71. Release notes: Create a PR to update and review release notes in [CHANGELOG.md](../CHANGELOG.md).
     8  - Check merged pull requests since the last release and make sure enhancements, bug fixes, and authors are reflected in the notes.
     9
    10You can get a list of pull requests since the last release by substituting in the date of the last release and running:
    11
    12```
    13git log --pretty="* %s" --after="YYYY-MM-DD"
    14```
    15
    16and a list of authors by running:
    17
    18```
    19git log --pretty="* %an" --after="YYYY-MM-DD" | sort -u
    20```
    21
    221. Merge the CHANGELOG.md pull request 
    23
    241. Sync your repository's main branch and tag the repository
    25
    26```shell
    27$ export RELEASE_TAG=<release version, eg "v1.1.0">
    28$ git tag -s ${RELEASE_TAG} -m "${RELEASE_TAG}"
    29$ git push upstream ${RELEASE_TAG}
    30```
    31
    32Note that `upstream` should be the upstream Sigstore repository. You may have to change this if you've configured remotes.
    33
    34Add the Sigstore repository as `upstream` with the following:
    35```shell
    36$ git remote add upstream git@github.com:sigstore/timestamp-authority.git
    37```
    38
    391. This will trigger a GitHub Workflow that will build the binaries and the images.
    40
    411. Go to [releases](https://github.com/sigstore/timestamp-authority/releases) and edit the draft release.
    42   The tag should be selected automatically. Edit the release notes, copying in the changelog.
    43   Click "Publish Release".
    44
    451. Send an announcement email to `sigstore-dev@googlegroups.com` mailing list
    46
    471. Post on the `#general` Slack channel

View as plain text