Skip to content

Commit 1ecf92a

Browse files
techknowlogicklafriks
authored andcommitted
Add HOWTO for releasing Gitea (#5054)
* Add HOWTO for releasing Gitea Used instructions from: #2609 (comment) * Update CONTRIBUTING.md
1 parent f44d066 commit 1ecf92a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

CONTRIBUTING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
- [Maintainers](#maintainers)
1717
- [Owners](#owners)
1818
- [Versions](#versions)
19+
- [Releasing Gitea](#releasing-gitea)
1920
- [Copyright](#copyright)
2021

2122
## Introduction
@@ -256,6 +257,17 @@ in production, please download the latest release tag version. All the
256257
branches will be protected via GitHub, all the PRs to every branch must
257258
be reviewed by two maintainers and must pass the automatic tests.
258259

260+
## Releasing Gitea
261+
262+
* Let $vmaj, $vmin and $vpat be Major, Minor and Patch version numbers, $vpat should be rc1, rc2, 0, 1, ...... $vmaj.$vmin will be kept the same as milestones on github or gitea in future.
263+
* Before releasing, confirm all the version's milestone issues or PRs has been resolved. Then discuss the release on discord channel #maintainers and get agreed with almost all the owners and mergers. Or you can declare the version and if nobody against in about serval hours.
264+
* If this is a big version, then you have to create a new branch named `release/v$vmaj.$vmin`
265+
* Create PR for changelog on branch `release/v$vmaj.$vmin`
266+
* After your PR reviewed and merged, and CI passed, add a tag as `git tag -s -F release.notes v$vmaj.$vmin.$`, release.notes file could be a temporory file to only include the changelog this version which you added to `CHANGELOG.md`.
267+
* And then push the tag as `git push origin v$vmaj.$vmin.$`. Drone CI will automatically created a release and upload all the compiled binary. (But currently it didn't add the release notes automatically. Maybe we should fix that.)
268+
* Send PR for changelog on branch `master`.
269+
* Send PR to [blog repository](https://github.com/go-gitea/blog) announcing the release.
270+
259271
## Copyright
260272

261273
Code that you contribute should use the standard copyright header:

0 commit comments

Comments
 (0)