2016-07-01 04:01:44 +05:30
|
|
|
# Making a dex Release
|
2016-05-27 20:28:09 +05:30
|
|
|
|
2016-07-01 04:01:44 +05:30
|
|
|
Make sure you've [uploaded your GPG key](https://github.com/settings/keys) and
|
|
|
|
configured git to [use that signing key](
|
|
|
|
https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work) either globally or
|
|
|
|
for the Dex repo. Note that the email the key is issued for must be the email
|
|
|
|
you use for git.
|
2016-05-27 20:28:09 +05:30
|
|
|
|
2016-07-01 04:01:44 +05:30
|
|
|
```
|
|
|
|
git config [--global] user.signingkey "{{ GPG key ID }}"
|
|
|
|
git config [--global] user.email "{{ Email associated with key }}"
|
|
|
|
```
|
2016-05-27 20:28:09 +05:30
|
|
|
|
2016-07-01 04:01:44 +05:30
|
|
|
Create a signed tag at the commit you wish to release. This action will prompt
|
|
|
|
you to enter a tag message, which can just be the release version.
|
2016-05-27 20:28:09 +05:30
|
|
|
|
2016-07-01 04:01:44 +05:30
|
|
|
```
|
|
|
|
git tag -s v0.4.0 ea4c04fde83bd6c48f4d43862c406deb4ea9dba2
|
|
|
|
```
|
2016-05-27 20:28:09 +05:30
|
|
|
|
2016-07-01 04:01:44 +05:30
|
|
|
Push that tag to the CoreOS repo.
|
2016-05-27 20:28:09 +05:30
|
|
|
|
2016-07-01 04:01:44 +05:30
|
|
|
```
|
|
|
|
git push git@github.com:coreos/dex.git v0.4.0
|
|
|
|
```
|
2016-05-27 20:28:09 +05:30
|
|
|
|
2016-07-01 04:01:44 +05:30
|
|
|
Draft releases on GitHub and summarize the changes since the last release. See
|
|
|
|
previous releases for the expected format.
|
|
|
|
|
|
|
|
https://github.com/coreos/dex/releases
|
|
|
|
|
|
|
|
Finally create an image tag on Quay corresponding to the release. Log into
|
|
|
|
Quay, navigate to the `quay.io/coreos/dex` repo, find the correct commit, and
|
|
|
|
add an additional tag to that image for the release (click the gear on the
|
|
|
|
image tag's row and then "Add New Tag").
|
|
|
|
|
|
|
|
https://quay.io/repository/coreos/dex?tag=latest&tab=tags
|