add releasing doc

Signed-off-by: Ciro S. Costa <utxobr@protonmail.com>
This commit is contained in:
Ciro S. Costa 2021-08-03 09:16:42 -04:00
parent 652cf40227
commit ac651c527e

33
RELEASING.md Normal file
View File

@ -0,0 +1,33 @@
# releasing
1. build the container images
```
make images
```
2. create a final commit with the images checked out
```
git add --all .
git commit # bla bla
```
3. create a new signed tag
```
git tag -s $version
```
4. build the release binaries
```
goreleaser release --rm-dist
```
5. sign the checksums
```
export GPG_TTY=$(tty)
gpg --clearsign ./dist/checksums.txt
```