mirror of
https://github.com/SeriousBug/gandi-live-dns-rust
synced 2024-12-27 23:59:56 -06:00
release 1.5.0
This commit is contained in:
parent
984449f748
commit
985ce8ea5c
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -660,7 +660,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "gandi-live-dns"
|
name = "gandi-live-dns"
|
||||||
version = "1.4.0"
|
version = "1.5.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
[package]
|
[package]
|
||||||
name = "gandi-live-dns"
|
name = "gandi-live-dns"
|
||||||
version = "1.4.0"
|
description = "Automatically updates your IP address in Gandi's Live DNS. Makes it possible to use Gandi as a dynamic DNS system."
|
||||||
|
version = "1.5.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["Kaan Barmore-Genç <kaan@bgenc.net>"]
|
authors = ["Kaan Barmore-Genç <kaan@bgenc.net>"]
|
||||||
|
license = "MIT"
|
||||||
|
readme = "Readme.md"
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
strip = "symbols"
|
strip = "symbols"
|
||||||
|
|
14
Readme.md
14
Readme.md
|
@ -1,6 +1,6 @@
|
||||||
## gandi-live-dns-rust
|
## gandi-live-dns-rust
|
||||||
|
|
||||||
[![tests](https://img.shields.io/github/workflow/status/SeriousBug/gandi-live-dns-rust/test?label=tests)](https://github.com/SeriousBug/gandi-live-dns-rust/actions/workflows/test.yml) [![lint checks](https://img.shields.io/github/workflow/status/SeriousBug/gandi-live-dns-rust/lint%20checks?label=lints)](https://github.com/SeriousBug/gandi-live-dns-rust/actions/workflows/lint.yml) [![Releases](https://img.shields.io/github/v/release/SeriousBug/gandi-live-dns-rust?include_prereleases)](https://github.com/SeriousBug/gandi-live-dns-rust/releases) [![Docker Image Size](https://img.shields.io/docker/image-size/seriousbug/gandi-live-dns-rust)](https://hub.docker.com/r/seriousbug/gandi-live-dns-rust) [![MIT license](https://img.shields.io/github/license/SeriousBug/gandi-live-dns-rust)](https://github.com/SeriousBug/gandi-live-dns-rust/blob/master/LICENSE.txt)
|
[![tests](https://img.shields.io/github/workflow/status/SeriousBug/gandi-live-dns-rust/test?label=tests)](https://github.com/SeriousBug/gandi-live-dns-rust/actions/workflows/test.yml) [![Test coverage report](https://img.shields.io/codecov/c/github/SeriousBug/gandi-live-dns-rust)](https://codecov.io/gh/SeriousBug/gandi-live-dns-rust) [![lint checks](https://img.shields.io/github/workflow/status/SeriousBug/gandi-live-dns-rust/lint%20checks?label=lints)](https://github.com/SeriousBug/gandi-live-dns-rust/actions/workflows/lint.yml) [![Releases](https://img.shields.io/github/v/release/SeriousBug/gandi-live-dns-rust?include_prereleases)](https://github.com/SeriousBug/gandi-live-dns-rust/releases) [![Docker Image Size](https://img.shields.io/docker/image-size/seriousbug/gandi-live-dns-rust)](https://hub.docker.com/r/seriousbug/gandi-live-dns-rust) [![MIT license](https://img.shields.io/github/license/SeriousBug/gandi-live-dns-rust)](https://github.com/SeriousBug/gandi-live-dns-rust/blob/master/LICENSE.txt)
|
||||||
|
|
||||||
A program that can set the IP addresses for configured DNS entries in
|
A program that can set the IP addresses for configured DNS entries in
|
||||||
[Gandi](https://gandi.net)'s domain configuration. Thanks to Gandi's
|
[Gandi](https://gandi.net)'s domain configuration. Thanks to Gandi's
|
||||||
|
@ -68,7 +68,7 @@ up, but avoid unnecessarily overloading Gandi's servers.
|
||||||
|
|
||||||
- Place `gandi-live-dns.timer` and `gandi-live-dns.service` into `/etc/systemd/system`
|
- Place `gandi-live-dns.timer` and `gandi-live-dns.service` into `/etc/systemd/system`
|
||||||
- Put `gandi-live-dns` binary into `/usr/bin/`
|
- Put `gandi-live-dns` binary into `/usr/bin/`
|
||||||
- You can also place it in `/usr/local/bin` or some other directory, just make sure to update the path in the service file
|
- You can also place it in `/usr/local/bin` or some other directory, just make sure to update the path in the service file
|
||||||
- Create the folder `/etc/gandi-live-dns`, and place your `gandi.toml` into it
|
- Create the folder `/etc/gandi-live-dns`, and place your `gandi.toml` into it
|
||||||
- Create a user for the service: `useradd --system gandi-live-dns --home-dir /etc/gandi-live-dns`
|
- Create a user for the service: `useradd --system gandi-live-dns --home-dir /etc/gandi-live-dns`
|
||||||
- Make sure only the service can access the config file: `chown gandi-live-dns: /etc/gandi-live-dns/gandi.toml && chmod 600 /etc/gandi-live-dns/gandi.toml`
|
- Make sure only the service can access the config file: `chown gandi-live-dns: /etc/gandi-live-dns/gandi.toml && chmod 600 /etc/gandi-live-dns/gandi.toml`
|
||||||
|
@ -87,13 +87,13 @@ To make a release, first set up `cross` and `docker`. Make sure you log into
|
||||||
Docker with `docker login`. Then follow these steps:
|
Docker with `docker login`. Then follow these steps:
|
||||||
|
|
||||||
- bump up the version in `Cargo.toml` according to [semver](https://semver.org/)
|
- bump up the version in `Cargo.toml` according to [semver](https://semver.org/)
|
||||||
- commit and push the changes
|
- commit and push the changes
|
||||||
- run `./make-release.sh`
|
- run `./make-release.sh`
|
||||||
> This will build binaries, then package them into archives, as well as
|
> This will build binaries, then package them into archives, as well as
|
||||||
> build and upload docker images.
|
> build and upload docker images.
|
||||||
- Create a release on Github
|
- Create a release on Github
|
||||||
- Make sure to create a tag for the release version on `master`
|
- Make sure to create a tag for the release version on `master`
|
||||||
- Upload the binary archives to the Github release
|
- Upload the binary archives to the Github release
|
||||||
- Update the AUR version manually
|
- Update the AUR version manually
|
||||||
|
|
||||||
## Alternatives
|
## Alternatives
|
||||||
|
|
Loading…
Reference in a new issue