issue_template_patch_release.md 2.1 KB

Before release

On develop branch:

  • Update CHANGELOG to include entries for the current patch release.

During release

On release branch:

  • Cherry-pick commits from develop branch:
    • link to the commit
  • Wait for GitHub Actions to complete and no failed jobs.
  • Update the hard-coded version to the current release, e.g. 0.12.0 -> 0.12.1.
  • Publish a new GitHub release with entries from CHANGELOG for the current patch release and all previous releases with same minor version.
  • [ ] 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.**
    
  • [ ] Wait for a new Docker Hub tag for the current release to be created automatically.

  • [ ] Update Docker image tag for the minor release <MAJOR>.<MINOR>, e.g. 0.12.

  • [ ] Compile and pack binaries (all prefixed with gogs_<MAJOR>.<MINOR>.<PATCH>_, e.g. gogs_0.12.0_):

    • macOS: darwin_amd64.zip
    • Linux: linux_386.tar.gz, linux_386.zip, linux_amd64.tar.gz, linux_amd64.zip
    • ARM: linux_armv7.tar.gz, linux_armv7.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:

  • [ ] Build, push and tag a new Docker image for ARM to Docker Hub.

After release

On develop branch:

  • Update the repository mirror on Gitee.
  • Reply to the release topic for the minor release on Gogs Discussion.
PANIC: session(release): write data/sessions/e/2/e21ad6ad8aec54de: no space left on device

PANIC

session(release): write data/sessions/e/2/e21ad6ad8aec54de: no space left on device
github.com/go-macaron/session@v0.0.0-20190805070824-1a3cdc6f5659/session.go:199 (0x8b2934)
gopkg.in/macaron.v1@v1.3.9/context.go:79 (0x83d0a0)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:157 (0x80ab07)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:135 (0x80a8a8)
gopkg.in/macaron.v1@v1.3.9/context.go:121 (0x83d1f8)
gopkg.in/macaron.v1@v1.3.9/context.go:112 (0x84fdb5)
gopkg.in/macaron.v1@v1.3.9/recovery.go:161 (0x84fda8)
gopkg.in/macaron.v1@v1.3.9/logger.go:40 (0x840c73)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:157 (0x80ab07)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:135 (0x80a8a8)
gopkg.in/macaron.v1@v1.3.9/context.go:121 (0x83d1f8)
gopkg.in/macaron.v1@v1.3.9/router.go:187 (0x850fc6)
gopkg.in/macaron.v1@v1.3.9/router.go:303 (0x8493e5)
gopkg.in/macaron.v1@v1.3.9/macaron.go:220 (0x841fca)
net/http/server.go:2836 (0x7a79b2)
net/http/server.go:1924 (0x7a341b)
runtime/asm_amd64.s:1373 (0x46f9f0)