cli/pkg/cmd
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
..
actions gh: list help topics in help output 2022-02-18 18:39:30 +01:00
alias Migrate to tableprinter from go-gh (#6346) 2022-10-17 15:15:39 +02:00
api Add more help to "template" flags 2022-09-17 23:12:48 -07:00
auth Replace secrets.GITHUB_TOKEN with github.token 2022-11-01 10:59:17 -04:00
browse revert revert 57fbe4f317 (#6474) 2022-10-20 12:17:20 +00:00
codespace Fix Codespace Creation Devcontainer bug (#6389) 2022-10-18 11:11:28 +03:00
completion Bump github.com/spf13/cobra from v1.4.0 to v1.5.0 (#6196) 2022-09-06 09:43:40 +04:00
config Use go-gh config package (#5771) 2022-06-23 11:50:04 +00:00
extension Upgrade actions/checkout to v3 in extension template (#6543) 2022-11-01 17:18:10 +00:00
factory revert revert 57fbe4f317 (#6474) 2022-10-20 12:17:20 +00:00
gist revert revert 57fbe4f317 (#6474) 2022-10-20 12:17:20 +00:00
gpg-key Migrate to tableprinter from go-gh (#6346) 2022-10-17 15:15:39 +02:00
issue use tableprinter in issue develop 2022-10-24 15:23:52 -07:00
label Migrate to tableprinter from go-gh (#6346) 2022-10-17 15:15:39 +02:00
pr Enable gh pr create --repo <repo> from outside of a local git repository 2022-10-28 18:22:37 +02:00
release Avoid duplicate release when creating a release with assets (#6493) 2022-11-01 19:03:03 +00:00
repo feat: make topic param as list in repo list command (#6539) 2022-11-01 19:39:43 +01:00
root Document the hyperlink helper 2022-10-31 15:04:53 +01:00
run run: add number json field to access run number 2022-10-24 15:40:07 +02:00
search Migrate to tableprinter from go-gh (#6346) 2022-10-17 15:15:39 +02:00
secret Migrate to tableprinter from go-gh (#6346) 2022-10-17 15:15:39 +02:00
ssh-key Migrate to tableprinter from go-gh (#6346) 2022-10-17 15:15:39 +02:00
status Migrate to tableprinter from go-gh (#6346) 2022-10-17 15:15:39 +02:00
version Fix --version flag printing to stdout 2022-05-24 16:21:13 +02:00
workflow Migrate to tableprinter from go-gh (#6346) 2022-10-17 15:15:39 +02:00