update release instructions

This commit is contained in:
Kaan Barmore-Genç 2022-03-10 21:58:55 -05:00
parent b61e3d76cf
commit 8faa6bd5f1
2 changed files with 3 additions and 1 deletions

View file

@ -85,12 +85,14 @@ To make a release, first set up `cross` and `docker`. Make sure you log into
Docker with `docker login`. Then follow these steps:
- bump up the version in `Cargo.toml` according to [semver](https://semver.org/)
- commit and push the changes
- run `./make-release.sh`
> This will build binaries, then package them into archives, as well as
> build and upload docker images.
- Create a release on Github
- Make sure to create a tag for the release version on `master`
- Upload the binary archives to the Github release
- Update the AUR version manually
## Alternatives

View file

@ -57,7 +57,7 @@ for target in "${!TARGETS[@]}"; do
fi
done
if [[ "$1" = "--no-docker" ]] ; then
if [[ "$#" -ge 2 && "$1" = "--no-docker" ]] ; then
echo "Exiting without releasing to docker"
exit 0
fi