[PR #1854] [MERGED] Display draft releases #16086

Closed
opened 2025-11-02 12:01:58 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1854
Author: @ethantkoenig
Created: 6/2/2017
Status: Merged
Merged: 6/3/2017
Merged by: @lunny

Base: masterHead: fix/release_draft


📝 Commits (3)

📊 Changes

3 files changed (+53 additions, -75 deletions)

View changed files

integrations/release_test.go (+22 -0)
📝 models/fixtures/repo_unit.yml (+8 -0)
📝 routers/repo/release.go (+23 -75)

📄 Description

Fixes #1387. Previously, we only displayed releases whose tag name actually existed in the repository, which is why drafts did not show up.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/1854 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 6/2/2017 **Status:** ✅ Merged **Merged:** 6/3/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `fix/release_draft` --- ### 📝 Commits (3) - [`53f6360`](https://github.com/go-gitea/gitea/commit/53f6360a2b6cd77b1a8ff376f7749c2891d06f4f) Display draft releases - [`87b22bf`](https://github.com/go-gitea/gitea/commit/87b22bfb77ce2ec794a753ac1c4556d684f0bfec) Include ctx.User in user cache - [`21bdc9c`](https://github.com/go-gitea/gitea/commit/21bdc9cf8810ec241de98dd95c069eca87c65662) Integration test ### 📊 Changes **3 files changed** (+53 additions, -75 deletions) <details> <summary>View changed files</summary> ➕ `integrations/release_test.go` (+22 -0) 📝 `models/fixtures/repo_unit.yml` (+8 -0) 📝 `routers/repo/release.go` (+23 -75) </details> ### 📄 Description Fixes #1387. Previously, we only displayed releases whose tag name actually existed in the repository, which is why drafts did not show up. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:01:58 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16086