Håvard Anda Estensen
58cb773e09
Replace ioutil with io and os ( #5498 )
2022-04-26 13:07:44 +02:00
Johannes Plunien
186e5ccfb2
Add release edit command ( #5422 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-04-13 14:51:49 +00:00
Mislav Marohnić
83a08aa3ba
Remove unnecessary pointers to Go maps
2021-10-25 17:20:12 +02:00
Mislav Marohnić
11fbb60ae7
Rename the module to "github.com/cli/cli/v2"
2021-08-25 12:41:30 +02:00
Mislav Marohnić
c667a0bc49
Fix fetching draft releases from GitHub Actions
...
When using GITHUB_TOKEN in Actions, the permissions on a repository are
null and therefore we can't check whether the viewer has push access or
not. The solution is to unconditionally check for draft releases instead
of trying to be smart about it. Draft releases are going to be on top,
so we don't have to paginate through all releases in a repository.
2021-05-18 19:44:29 +02:00
Mislav Marohnić
4425365004
Add release view --json support
2021-05-18 19:40:28 +02:00
Mislav Marohnić
1ad9b0b14e
Have FindDraftRelease be truer to its name
2020-09-03 15:35:07 +02:00
Mislav Marohnić
0f42c7af4d
Add tests for release create, delete, download, view
2020-09-01 18:56:30 +02:00
Mislav Marohnić
d0d9cc2f9b
View latest release if no tag provided
2020-09-01 14:16:59 +02:00
Mislav Marohnić
d43d5e0bc9
Add release delete
2020-08-28 17:41:00 +02:00
Mislav Marohnić
a00d927970
Add release download, upload files on create, upload retrying
2020-08-21 18:00:52 +02:00