mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
DOCS: Clarify RE doc (#2934)
This commit is contained in:
@ -10,19 +10,27 @@ Please change the version number as appropriate. Substitute (for example)
|
|||||||
## Step 1. Rebuild generated files
|
## Step 1. Rebuild generated files
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
export VERSION=v4.2.0
|
export VERSION=v4.x.0
|
||||||
git checkout main
|
git checkout main
|
||||||
git pull
|
git pull
|
||||||
go fmt ./...
|
go fmt ./...
|
||||||
go generate ./...
|
go generate ./...
|
||||||
go mod tidy
|
go mod tidy
|
||||||
|
git status
|
||||||
|
```
|
||||||
|
|
||||||
|
There should be no modified files. If there are, check them in then start over from the beginning:
|
||||||
|
|
||||||
|
```
|
||||||
|
git checkout -b gogenerate
|
||||||
git commit -a -m "Update generated files for $VERSION"
|
git commit -a -m "Update generated files for $VERSION"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Step 2. Tag the commit in main that you want to release
|
## Step 2. Tag the commit in main that you want to release
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
export VERSION=v4.2.0
|
export VERSION=v4.x.0
|
||||||
|
git checkout main
|
||||||
git tag -m "Release $VERSION" -a $VERSION
|
git tag -m "Release $VERSION" -a $VERSION
|
||||||
git push origin HEAD --tags
|
git push origin HEAD --tags
|
||||||
```
|
```
|
||||||
@ -48,33 +56,6 @@ Release notes style guide:
|
|||||||
|
|
||||||
See [https://github.com/StackExchange/dnscontrol/releases](https://github.com/StackExchange/dnscontrol/releases) for examples for recent release notes and copy that style.
|
See [https://github.com/StackExchange/dnscontrol/releases](https://github.com/StackExchange/dnscontrol/releases) for examples for recent release notes and copy that style.
|
||||||
|
|
||||||
Template:
|
|
||||||
|
|
||||||
```text
|
|
||||||
## Changelog
|
|
||||||
|
|
||||||
This release includes many new providers (FILL IN), dozens
|
|
||||||
of bug fixes, and FILL IN.
|
|
||||||
|
|
||||||
### Breaking changes:
|
|
||||||
|
|
||||||
* FILL IN
|
|
||||||
|
|
||||||
### Major features:
|
|
||||||
|
|
||||||
* FILL IN
|
|
||||||
|
|
||||||
### Provider-specific changes:
|
|
||||||
|
|
||||||
* FILL IN
|
|
||||||
|
|
||||||
### Other changes and improvements:
|
|
||||||
|
|
||||||
* FILL IN
|
|
||||||
|
|
||||||
### Deprecation warnings:
|
|
||||||
```
|
|
||||||
|
|
||||||
## Step 4. Announce it via email
|
## Step 4. Announce it via email
|
||||||
|
|
||||||
Email the release notes to the mailing list: (note the format of the Subject line and that the first line of the email is the URL of the release)
|
Email the release notes to the mailing list: (note the format of the Subject line and that the first line of the email is the URL of the release)
|
||||||
@ -108,7 +89,6 @@ Mention the fact that you did this release in your weekly accomplishments.
|
|||||||
If you are at Stack Overflow:
|
If you are at Stack Overflow:
|
||||||
|
|
||||||
* Add the release to your weekly snippets
|
* Add the release to your weekly snippets
|
||||||
* Run this build: `dnscontrol_embed - Promote most recent artifact into ExternalDNS repo`
|
|
||||||
|
|
||||||
## Tip: How to bump the major version
|
## Tip: How to bump the major version
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user