Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to create draft releases #805

Open
mdcfe opened this issue Jul 30, 2022 · 2 comments
Open

Ability to create draft releases #805

mdcfe opened this issue Jul 30, 2022 · 2 comments
Labels
1. api This issue/pr relates to an issue/change on the api 1. feature New feature or request 2. backend This issue/pr relates to an issue/change on the backend 2. frontend This issue/pr relates to an issue/change on the frontend

Comments

@mdcfe
Copy link
Contributor

mdcfe commented Jul 30, 2022

Is your feature request related to a problem?

Sometimes, authors may want to upload a draft version of their release notes before the release is stable. An author might also want to use a script to automate the creation of a template release, without fully publishing it. An organisation might want to upload release notes but wait for another team member to review them before publishing.

Describe the solution you'd like.

GitHub allows you to create a draft release before uploading, which is hidden from public view until you're ready to publish it. It would be ideal if Hangar also had the ability to create hidden draft releases and save them to publish later.

Describe alternatives you've considered.

Not creating a draft release.

Other

No response

@MiniDigger MiniDigger added 1. feature New feature or request 2. frontend This issue/pr relates to an issue/change on the frontend 1. api This issue/pr relates to an issue/change on the api 2. backend This issue/pr relates to an issue/change on the backend 2. suggestion labels Jul 30, 2022
@MiniDigger
Copy link
Member

  • visibility you can't change to
  • when changing away you update the creation date
  • only put in moderation queue when published (the query should just ignore them)
  • only send notification when publish

@Andre601
Copy link

It would be useful to expose this to the API too to allow creating a draft release to later modify for things like uploading the files.

Stuff like the GitHub Action mc-publish would benefit of this greatly as right now the current API structure won't allow a per-file dependency declaration without huge rewrites.

More info in this discussion: Kir-Antipov/mc-publish#65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. api This issue/pr relates to an issue/change on the api 1. feature New feature or request 2. backend This issue/pr relates to an issue/change on the backend 2. frontend This issue/pr relates to an issue/change on the frontend
Projects
Status: New
Development

No branches or pull requests

4 participants