ejahnGithub
2d9cf84690
replace /git/refs/tags/ to /git/ref/tags/
2025-08-13 11:23:06 -04:00
ejahnGithub
ec086af25c
add test for FetchRefSHA
2025-08-08 17:32:30 -04:00
ejahnGithub
1beb8252a7
fix error for ErrReleaseNotFound when fetching ref
2025-08-04 20:58:45 -04:00
Brian DeHamer
c335c5e25f
include immutable field in release view
...
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2025-07-10 11:46:09 -07:00
ejahnGithub
df87b15598
clean the code
2025-05-30 12:53:19 -07:00
Eugene
15b7692f1a
Merge branch 'trunk' into eugene/release-verify
2025-05-30 08:20:42 -07:00
ejahnGithub
71c2361dfc
add unit test
2025-05-30 08:17:21 -07:00
Brian DeHamer
bc93b54137
add Digest to ReleaseAsset struct
...
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2025-05-27 12:47:16 -07:00
ejahnGithub
d0da9b1664
update Sprintf
2025-05-23 16:23:41 -04:00
ejahnGithub
3108d99208
added the unit test
2025-05-23 15:31:33 -04:00
ejahnGithub
3a6e42f73f
init
2025-05-15 17:21:13 -04:00
Azeem Sajid
49fd7a5756
[gh release create] Fail when there are no new commits since the most recent release
2025-02-08 18:20:43 +05:00
William Martin
c13d161271
Export databaseId for releases
2024-07-23 13:41:56 +02:00
William Martin
99ff84bdd9
Alphabetise release json fields
2024-07-23 13:41:56 +02:00
Raj Hawaldar
0d8c34bf59
Add --verify-tag to release edit command ( #7646 )
2023-07-07 14:23:39 +00:00
Mislav Marohnić
36ffbe18de
Improve looking up draft releases by tag name
...
This changes the FetchRelease implementation to look up draft releases directly using by its pending tag name, as opposed to resorting to the Releases list API which is backed by Elastic Search and thus suffers replication lag after the creation of a draft release.
Bonus: all release lookup functions now accept a context for cancellation.
2022-12-14 21:24:08 +01:00
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