docs: update links to release templates (#6729)

[skip ci]
pull/6733/head
Joe Chen 2022-01-16 19:04:28 +08:00 committed by GitHub
parent 74886d95d0
commit 6ccc1ce804
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 13 deletions

View File

@ -31,6 +31,7 @@ On the release branch:
- [ ] Upload all binaries to: - [ ] Upload all binaries to:
- [ ] GitHub release - [ ] GitHub release
- [ ] https://dl.gogs.io (also upload `checksum_sha256.txt`) - [ ] https://dl.gogs.io (also upload `checksum_sha256.txt`)
- [ ] Update content of [Install from binary](https://gogs.io/docs/installation/install_from_binary).
## After release ## After release

View File

@ -21,9 +21,9 @@ On the release branch:
- [ ] Wait for GitHub Actions to complete and no failed jobs. - [ ] Wait for GitHub Actions to complete and no failed jobs.
- [ ] Publish a new [GitHub release](https://github.com/gogs/gogs/releases) with entries from [CHANGELOG](https://github.com/gogs/gogs/blob/main/CHANGELOG.md) for the current patch release and all previous releases with same minor version. **Make sure the tag is created on the release branch**. - [ ] Publish a new [GitHub release](https://github.com/gogs/gogs/releases) with entries from [CHANGELOG](https://github.com/gogs/gogs/blob/main/CHANGELOG.md) for the current patch release and all previous releases with same minor version. **Make sure the tag is created on the release branch**.
- [ ] Update all previous GitHub releases with same minor version with the warning: - [ ] Update all previous GitHub releases with same minor version with the warning:
``` ```
** Heads up! There is a new patch release [0.12.1](https://github.com/gogs/gogs/releases/tag/v0.12.1) available, we recommend directly installing or upgrading to that version.** ** Heads up! There is a new patch release [0.12.1](https://github.com/gogs/gogs/releases/tag/v0.12.1) available, we recommend directly installing or upgrading to that version.**
``` ```
- [ ] Wait for a new image tag for the current release to be created automatically on both [Docker Hub](https://hub.docker.com/r/gogs/gogs/tags) and [GitHub Container registry](https://github.com/gogs/gogs/pkgs/container/gogs). - [ ] Wait for a new image tag for the current release to be created automatically on both [Docker Hub](https://hub.docker.com/r/gogs/gogs/tags) and [GitHub Container registry](https://github.com/gogs/gogs/pkgs/container/gogs).
- [ ] Update Docker image tag for the minor release `<MAJOR>.<MINOR>`, e.g. `0.12` on both [Docker Hub](https://hub.docker.com/r/gogs/gogs/tags) and [GitHub Container registry](https://github.com/gogs/gogs/pkgs/container/gogs). - [ ] Update Docker image tag for the minor release `<MAJOR>.<MINOR>`, e.g. `0.12` on both [Docker Hub](https://hub.docker.com/r/gogs/gogs/tags) and [GitHub Container registry](https://github.com/gogs/gogs/pkgs/container/gogs).
- [ ] Compile and pack binaries (all prefixed with `gogs_<MAJOR>.<MINOR>.<PATCH>_`, e.g. `gogs_0.12.0_`): - [ ] Compile and pack binaries (all prefixed with `gogs_<MAJOR>.<MINOR>.<PATCH>_`, e.g. `gogs_0.12.0_`):
@ -35,6 +35,7 @@ On the release branch:
- [ ] Upload all binaries to: - [ ] Upload all binaries to:
- [ ] GitHub release - [ ] GitHub release
- [ ] https://dl.gogs.io (also upload `checksum_sha256.txt`) - [ ] https://dl.gogs.io (also upload `checksum_sha256.txt`)
- [ ] Update content of [Install from binary](https://gogs.io/docs/installation/install_from_binary).
## After release ## After release

View File

@ -2,16 +2,8 @@
## Release a minor version ## Release a minor version
To release a new minor version, create a new GitHub issue with following attributes: To release a new minor version, use the GitHub issue template [Dev: Release a minor version](https://github.com/gogs/gogs/issues/new?title=Release+<MAJOR>.<MINOR>.0&labels=%F0%9F%93%B8%20release&template=dev_release_minor_version.md).
1. Title: `Release <MAJOR>.<MINOR>.0`
1. Label: [📸 release](https://github.com/gogs/gogs/labels/%F0%9F%93%B8%20release)
1. Template: [Dev: Release a minor version](https://github.com/gogs/gogs/issues/new/choose)
## Release a patch version ## Release a patch version
To release a new patch version, create a new GitHub issue with following attributes: To release a new patch version, use the GitHub issue template [Dev: Release a patch version](https://github.com/gogs/gogs/issues/new?title=Release+<MAJOR>.<MINOR>.<PATCH>&labels=%F0%9F%93%B8%20release&template=dev_release_patch_version.md).
1. Title: `Release <MAJOR>.<MINOR>.<PATCH>`
1. Label: [📸 release](https://github.com/gogs/gogs/labels/%F0%9F%93%B8%20release)
1. Template: [Dev: Release a patch version](https://github.com/gogs/gogs/issues/new/choose)