cli/pkg/cmd/release
Mislav Marohnić e8dc825c7c
Avoid duplicate release when creating a release with assets (#6493)
When publishing a release, we rely on server-side validation to abort the operation if an existing published release with the same tag name already exists.

However, then creating a release with assets, we first create a draft release, upload assets to it, then publish. If there was an existing release with the same tag name, the operation would fail but it would leave behind a temporary draft release with assets. This makes the operation fail earlier, before creating any records.
2022-11-01 19:03:03 +00:00
..
create Avoid duplicate release when creating a release with assets (#6493) 2022-11-01 19:03:03 +00:00
delete tweak wording and formatting 2022-10-05 15:59:33 -07:00
delete-asset fix linting 2022-07-27 14:15:27 -05:00
download Add --clobber / --skip-existing to release download (#6053) 2022-09-01 12:28:25 +00:00
edit Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
list Migrate to tableprinter from go-gh (#6346) 2022-10-17 15:15:39 +02:00
shared Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
upload Migrate to go-gh text package (#6236) 2022-09-14 09:23:55 +04:00
view Migrate to tableprinter from go-gh (#6346) 2022-10-17 15:15:39 +02:00
release.go Add release edit command (#5422) 2022-04-13 14:51:49 +00:00