Skip to content

Commit 5c025de

Browse files
committed
Add v0.0.1 release notes (#57)
Signed-off-by: masteryyh <yyh991013@163.com>
1 parent 3883219 commit 5c025de

File tree

5 files changed

+60
-30
lines changed

5 files changed

+60
-30
lines changed

.github/workflows/build-image.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ jobs:
4646
run: |
4747
VERSION=${{ github.ref_name }} ./build.sh
4848
49+
- name: Build tarball for each platform
50+
if: startsWith(github.ref, 'refs/tags/v')
51+
run: |
52+
VERSION=${{ github.ref_name }} ./package.sh
53+
4954
- name: Build binary without tag
5055
if: ${{ ! startsWith(github.ref, 'refs/tags/v') }}
5156
run: |
@@ -99,7 +104,7 @@ jobs:
99104
if: startsWith(github.ref, 'refs/tags/v')
100105
run: |
101106
gh release create ${{ github.ref_name }} \
102-
-F docs/notes/release-${{ github.ref_name }}.md
103-
output/*.tar.gz*
107+
-F docs/notes/release-${{ github.ref_name }}.md \
108+
output/*.tar.gz output/*.tar.gz.md5
104109
env:
105110
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CONTRIBUTING.md

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Please include a short and precise description about what you have done in the c
1414

1515
We strongly recommend use GPG to sign your commit, and add a sign-off message after your commit message. We enabled vigilant mode so we can make sure that all commits are committed by yourself.
1616

17-
```
18-
$ git commit -s -S -m "what-i-have-done"
17+
```bash
18+
git commit -s -S -m "what-i-have-done"
1919
```
2020

2121
For now we don't force contributors to sign their commits, but in the future we might refuse Pull Requests that commits are not signed.
@@ -25,7 +25,8 @@ For now we don't force contributors to sign their commits, but in the future we
2525
1. We indent using Tab, you can choose any tab size you want when you browsing or writing code, but always choose Tab for indent;
2626

2727
2. All Go source files must add an Apache 2.0 license header comment, you can add your name and email under `Contributors` section like this:
28-
```
28+
29+
```plaintext
2930
/*
3031
Copyright © 2024 masteryyh <yyh991013@163.com>
3132
@@ -37,7 +38,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
3738
you may not use this file except in compliance with the License.
3839
You may obtain a copy of the License at
3940
40-
http://www.apache.org/licenses/LICENSE-2.0
41+
http://www.apache.org/licenses/LICENSE-2.0
4142
4243
Unless required by applicable law or agreed to in writing, software
4344
distributed under the License is distributed on an "AS IS" BASIS,
@@ -59,43 +60,43 @@ limitations under the License.
5960

6061
3. How to generate or use your existing GPG key:
6162

62-
- [Generating a new GPG key](https://docs.github.com/en/authentication/managing-commit-signature-verification/generating-a-new-gpg-key)
63-
64-
- [Checking for existing GPG keys](https://docs.github.com/en/authentication/managing-commit-signature-verification/checking-for-existing-gpg-keys)
63+
- [Generating a new GPG key](https://docs.github.com/en/authentication/managing-commit-signature-verification/generating-a-new-gpg-key)
64+
65+
- [Checking for existing GPG keys](https://docs.github.com/en/authentication/managing-commit-signature-verification/checking-for-existing-gpg-keys)
6566

66-
- [Adding a GPG key to your GitHub account](https://docs.github.com/en/authentication/managing-commit-signature-verification/adding-a-gpg-key-to-your-github-account)
67+
- [Adding a GPG key to your GitHub account](https://docs.github.com/en/authentication/managing-commit-signature-verification/adding-a-gpg-key-to-your-github-account)
6768

68-
- [Telling Git about your signing key](https://docs.github.com/en/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key)
69+
- [Telling Git about your signing key](https://docs.github.com/en/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key)
6970

70-
- [Signing commits](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits)
71+
- [Signing commits](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits)
7172

7273
### DNS provider documentations
7374

7475
- AliCloud:
7576

76-
- API: https://www.alibabacloud.com/help/en/dns/api-alidns-2015-01-09-overview
77-
- SDK: https://next.api.aliyun.com/api-tools/sdk/Alidns?version=2015-01-09&language=java-async-tea&tab=primer-doc
77+
- API: <https://www.alibabacloud.com/help/en/dns/api-alidns-2015-01-09-overview>
78+
- SDK: <https://next.api.aliyun.com/api-tools/sdk/Alidns?version=2015-01-09&language=java-async-tea&tab=primer-doc>
7879

7980
- Cloudflare:
8081

81-
- API: https://developers.cloudflare.com/api/
82-
- SDK: https://developers.cloudflare.com/fundamentals/api/reference/sdks/
82+
- API: <https://developers.cloudflare.com/api/>
83+
- SDK: <https://developers.cloudflare.com/fundamentals/api/reference/sdks/>
8384

8485
- DNSPod:
8586

86-
- API: https://cloud.tencent.com/document/api/1427/56194
87-
- SDK: https://cloud.tencent.com/document/sdk/Go
87+
- API: <https://cloud.tencent.com/document/api/1427/56194>
88+
- SDK: <https://cloud.tencent.com/document/sdk/Go>
8889

8990
- HuaweiCloud:
9091

91-
- API: https://console.huaweicloud.com/apiexplorer/#/openapi/DNS/doc
92-
- SDK: https://console.huaweicloud.com/apiexplorer/#/sdkcenter/DNS?lang=Go
92+
- API: <https://console.huaweicloud.com/apiexplorer/#/openapi/DNS/doc>
93+
- SDK: <https://console.huaweicloud.com/apiexplorer/#/sdkcenter/DNS?lang=Go>
9394

9495
- JDCloud:
9596

96-
- API: https://docs.jdcloud.com/cn/jd-cloud-dns/api/introduction
97-
- SDK: https://docs.jdcloud.com/cn/sdk/go
97+
- API: <https://docs.jdcloud.com/cn/jd-cloud-dns/api/introduction>
98+
- SDK: <https://docs.jdcloud.com/cn/sdk/go>
9899

99100
- RFC2136:
100101

101-
As RFC2136 is actually a standard, not a DNS provider, we can only provide IETF documentation about this: https://datatracker.ietf.org/doc/html/rfc2136
102+
As RFC2136 is actually a standard, not a DNS provider, we can only provide IETF documentation about this: <https://datatracker.ietf.org/doc/html/rfc2136>

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
## micro-ddns
1+
# micro-ddns
2+
23
micro-ddns is a tool that can update your DNS record
34
dynamically based on current IP address, support multiple
45
IP address detection methods and DNS providers.
56

67
## Quick Start
8+
79
```yaml
810
# /etc/micro-ddns/config.yaml
911
ddns:
@@ -26,17 +28,18 @@ provider:
2628
apiToken: "<redacted>"
2729
```
2830
29-
```
30-
$ micro-ddns run --config /etc/micro-ddns/config.yaml
31+
```bash
32+
micro-ddns run --config /etc/micro-ddns/config.yaml
3133
```
3234

3335
OR you can run as a container:
3436

35-
```
36-
$ docker run --name ddns -d -v /path/to/config.yaml:/etc/micro-ddns/config.yaml masteryyh/micro-ddns:alpine
37+
```bash
38+
docker run --name ddns -d -v /path/to/config.yaml:/etc/micro-ddns/config.yaml masteryyh/micro-ddns:alpine
3739
```
3840

3941
## License
42+
4043
This project is licensed under the Apache License 2.0. For more details, see the LICENSE file in the repository.
4144

4245
Copyright (c) 2024 masteryyh

docs/notes/release-v0.0.1.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# micro-ddns v0.0.1 Release Notes
2+
3+
This is the first release of micro-ddns!
4+
5+
## Supported DNS Providers
6+
7+
- [x] [Cloudflare](https://www.cloudflare.com/)
8+
- [x] [AliCloud](https://www.aliyun.com/)
9+
- [x] [DNSPod](https://www.dnspod.cn/)
10+
- [x] [HuaweiCloud](https://www.huaweicloud.com/)
11+
- [x] [JDCloud](https://www.jdcloud.com/)
12+
- [x] [RFC2136 (experimental)](https://datatracker.ietf.org/doc/html/rfc2136)
13+
14+
## Supported Address Detection Methods
15+
16+
- [x] Interface
17+
- [x] 3rd Party API
18+
- [x] SSH
19+
20+
## Known Issues
21+
22+
- When using AliCloud DNS provider, you may encounter the following error: "You can’t finish this operation because the last operation has not been finished". You can try to wait for next DNS update and its not always reproducible.

internal/cli/root.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ var (
3333
Short: "A simple tool to update DNS dynamically",
3434
Long: `A simple tool to update DNS dynamically if you want to create DNS records
3535
for hosts that IP address might changes. Support multiple DNS providers.
36-
37-
Still under construction. ;)`,
36+
`,
3837
}
3938
)
4039

0 commit comments

Comments
 (0)