mirror of
https://github.com/outbackdingo/matchbox.git
synced 2026-01-28 02:19:35 +00:00
1.3 KiB
1.3 KiB
bootcfg Release Guide
This guide covers releasing new versions of bootcfg.
Release Notes
Create a pre-release with the changelog contents.
Tag
Tag, sign the release version, and push to Github.
git tag -s vX.Y.Z -m 'vX.Y.Z'
Travis CI will build the Docker image and push it to Quay.io when the tag is pushed to master.
Binaries and Images
Build the binary and ACI. Check that their version is correct/clean.
./build
./build-aci
Prepare the binary tarball and ACI.
export VERSION=v0.3.0
mkdir bootcfg-$VERSION
cp bin/bootcfg bootcfg-$VERSION
cp bootcfg.aci bootcfg-$VERSION-linux-amd64.aci
tar -zcvf bootcfg-$VERSION-linux-amd64.tar.gz bootcfg-$VERSION
Signing
Sign the binary tarball and ACI.
gpg2 -a --default-key FC8A365E --detach-sign bootcfg-$VERSION-linux-amd64.tar.gz
gpg2 -a --default-key FC8A365E --detach-sign bootcfg-$VERSION-linux-amd64.aci
Verify the signatures.
gpg2 --verify bootcfg-$VERSION-linux-amd64.tar.gz.asc bootcfg-$VERSION-linux-amd64.tar.gz
gpg2 --verify bootcfg-$VERSION-linux-amd64.aci.asc bootcfg-$VERSION-linux-amd64.aci
Publish
Publish the signed binary tarball(s) and the signed ACI with the Github release. The Docker image is published to Quay.io when the tag is pushed to master.