mirror of
https://github.com/SeriousBug/gandi-live-dns-rust
synced 2024-12-26 15:19:59 -06:00
update release instructions
This commit is contained in:
parent
b61e3d76cf
commit
8faa6bd5f1
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue