Skip to content

Commit cefa819

Browse files
Upgrade goreleaser
1 parent b701f58 commit cefa819

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
uses: goreleaser/goreleaser-action@v5
3838
with:
3939
distribution: goreleaser
40-
version: latest
40+
version: "~> v2"
4141
args: release --clean
4242
env:
4343
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.goreleaser.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
version: 2
12
before:
23
hooks:
3-
- go mod tidy
44
- go generate ./...
5+
- go mod tidy
56
builds:
67
- env:
78
- CGO_ENABLED=0
@@ -159,7 +160,7 @@ archives:
159160
- LICENSE*
160161
- README*
161162
- CHANGELOG*
162-
- config.json
163+
- example.config.json
163164
format: tar.gz
164165
name_template: >-
165166
{{ .ProjectName }}_
@@ -174,7 +175,7 @@ archives:
174175
checksum:
175176
name_template: 'checksums.txt'
176177
snapshot:
177-
name_template: "{{ incpatch .Version }}-next"
178+
version_template: "{{ incpatch .Version }}-next"
178179
changelog:
179180
sort: asc
180181
filters:

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,9 @@ This is the structure of the `config.json` file:
8484

8585
The available DDNS providers are:
8686

87-
- Cloudflare
88-
- Duckdns (provider only allows a single AAAA record)
87+
- [Cloudflare](https://www.cloudflare.com/application-services/products/dns/) (free plan compatible)
88+
- [Duckdns](https://www.duckdns.org/) (provider only allows a single AAAA record)
89+
- [Gravity](https://github.com/BeryJu/gravity) (hosted locally)
8990

9091
- :rocket: **Adding your preferred provider is easy**:
9192
- Take a provider from `ddns/` such as cloudflare.go as a template.

0 commit comments

Comments
 (0)