mirror of
https://github.com/go-gitea/tea.git
synced 2026-07-01 21:03:59 -04:00
[GH-ISSUE #4] support tea releases create with asset upload
#1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @noerw on GitHub (Dec 3, 2018).
Original GitHub issue: https://github.com/go-gitea/tea/issues/4
I'm happy to provide a pull request implementing this functionality, but want to find consensus on the command line interface first.
I'd prefer a command like this:
But I saw that in the HTTP API assets are handled in a separate endpoint. Would the API described above be fine anyway?
@lunny commented on GitHub (Dec 3, 2018):
Please send your pull request, maintainers will review it.
@simbo1905 commented on GitHub (Dec 31, 2018):
The GitHub CLI hub release might provide some inspiration as to what the api could look like. For example you are suggesting creation a release from master which is a moving target; someone might push a broken commit just at the instance you are releasing. So the hub tool takes a “commitish” as the target such as a sha hash for a commit. By taking inspiration from that mature tool it will make it easier for people to write release automation scripts that are easy to migrate from other git servers onto gitea.
@noerw commented on GitHub (Mar 11, 2019):
was implemented with #6
support `tea releases create` with asset uploadto [GH-ISSUE #4] support `tea releases create` with asset upload