diff --git a/Readme.md b/Readme.md index 88b0de8..6477db9 100644 --- a/Readme.md +++ b/Readme.md @@ -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 diff --git a/make-release.sh b/make-release.sh index a83a294..12fab68 100755 --- a/make-release.sh +++ b/make-release.sh @@ -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