|
@@ -1,6 +1,13 @@
|
|
|
+---
|
|
|
+name: Dev: Release a minor version
|
|
|
+about: ONLY USED BY MAINTAINERS.
|
|
|
+title: "Release [VERSION]"
|
|
|
+labels: 📸 release
|
|
|
+---
|
|
|
+
|
|
|
## Before release
|
|
|
|
|
|
-On develop branch:
|
|
|
+On the `main` branch:
|
|
|
|
|
|
- [ ] Close stale issues with the label [status: needs feedback](https://github.com/gogs/gogs/issues?q=is%3Aissue+is%3Aopen+label%3A%22status%3A+needs+feedback%22).
|
|
|
- [ ] [Sync locales from Crowdin](https://github.com/gogs/gogs/blob/main/docs/dev/import_locale.md).
|
|
@@ -9,30 +16,29 @@ On develop branch:
|
|
|
|
|
|
## During release
|
|
|
|
|
|
-On release branch:
|
|
|
+On the release branch:
|
|
|
|
|
|
-- [ ] Update the [hard-coded version](https://github.com/gogs/gogs/blob/main/gogs.go#L21) to the current release, e.g. `0.12.0+dev` -> `0.12.0`.
|
|
|
+- [ ] Update the [hard-coded version](https://github.com/gogs/gogs/blob/main/gogs.go#L22) to the current release, e.g. `0.12.0+dev` -> `0.12.0`.
|
|
|
- [ ] 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 release.
|
|
|
- [ ] 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).
|
|
|
-- [ ] Push another Docker image tag as `<MAJOR>.<MINOR>`, e.g. `0.12`.
|
|
|
+- [ ] Push another Docker image tag as `<MAJOR>.<MINOR>`, e.g. `0.12` to 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_`):
|
|
|
- [ ] macOS: `darwin_amd64.zip`, `darwin_arm64.zip`
|
|
|
- [ ] Linux: `linux_386.tar.gz`, `linux_386.zip`, `linux_amd64.tar.gz`, `linux_amd64.zip`
|
|
|
- - [ ] ARM: `linux_armv7.tar.gz`, `linux_armv7.zip`
|
|
|
+ - [ ] ARM: `linux_armv7.tar.gz`, `linux_armv7.zip`, `linux_armv8.tar.gz`, `linux_armv8.zip`
|
|
|
- [ ] Windows: `windows_amd64.zip`, `windows_amd64_mws.zip`
|
|
|
- [ ] Generate SHA256 checksum for all binaries to the file `checksum_sha256.txt`.
|
|
|
- [ ] Upload all binaries to:
|
|
|
- [ ] GitHub release
|
|
|
- [ ] https://dl.gogs.io (also upload `checksum_sha256.txt`)
|
|
|
-- [ ] Build, push and tag a new Docker image for ARM to [Docker Hub](https://hub.docker.com/r/gogs/gogs-rpi).
|
|
|
|
|
|
## After release
|
|
|
|
|
|
-On develop branch:
|
|
|
+On the `main` branch:
|
|
|
|
|
|
- [ ] Update the repository mirror on [Gitee](https://gitee.com/unknwon/gogs).
|
|
|
- [ ] Create a new release announcement in [Discussions](https://github.com/gogs/gogs/discussions/categories/announcements).
|
|
|
- [ ] Send out release announcement emails via [Mailchimp](https://mailchimp.com/).
|
|
|
- [ ] Publish a new release article on [OSChina](http://my.oschina.net/Obahua/admin/releases).
|
|
|
-- [ ] Update the [hard-coded version](https://github.com/gogs/gogs/blob/main/gogs.go#L21) to the new develop version, e.g. `0.12.0+dev` -> `0.13.0+dev`.
|
|
|
-- [ ] Run `make legacy` to identify deprecated code that is aimed to be removed in current develop version.
|
|
|
+- [ ] Bump the [hard-coded version](https://github.com/gogs/gogs/blob/main/gogs.go#L22) to the new develop version, e.g. `0.12.0+dev` -> `0.13.0+dev`.
|
|
|
+- [ ] Run `task legacy` to identify deprecated code that is aimed to be removed in current develop version.
|