vilmibm
0660ced676
tweak wording and formatting
2022-10-05 15:59:33 -07:00
lktslionel
0b0ae1e673
feat(cmd/release): allow to delete release with its attached tag
2022-10-06 00:35:06 +02:00
Sam Coe
e7102f9d84
Migrate to go-gh text package ( #6236 )
2022-09-14 09:23:55 +04:00
Bindu
9fddb07eab
Add --notes-start-tag flag for generating release notes in gh release create ( #6107 )
2022-09-06 16:06:18 +04:00
Takeshi Sato
e2f344fef4
Add --clobber / --skip-existing to release download ( #6053 )
2022-09-01 12:28:25 +00:00
Mark Woods
e876b22963
Change markdown wrap limit match terminal width ( #6016 )
2022-09-01 07:36:25 +00:00
Wheeler Law
8cd9641284
Add newline to body when viewing machine readable release ( #6108 )
2022-08-31 10:29:38 +04:00
Sam Coe
45f1a71c8b
Remove all direct calls to shurcool-graphql
2022-08-18 21:40:41 +03:00
vilmibm
41385477c3
fix linting
2022-07-27 14:15:27 -05:00
vilmibm
d5334f4115
Revert "update linter checks"
...
This reverts commit 40ecb8c188 .
2022-07-27 13:30:41 -05:00
vilmibm
40ecb8c188
update linter checks
2022-07-26 16:06:52 -05:00
casswedson
00bc550dc6
chore: typo hunting ft. codespell
2022-07-09 21:41:09 -05:00
ffalor
c3a3ce5bee
Add exclude-drafts flag to gh release list
2022-05-09 20:47:39 +00:00
Håvard Anda Estensen
58cb773e09
Replace ioutil with io and os ( #5498 )
2022-04-26 13:07:44 +02:00
Roshan Padaki
13342cb272
Don't error on list commands when no results found ( #5479 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-04-25 17:55:52 +00: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
Christopher Nethercott
933a91e18e
Add "new" alias to "create" commands ( #5388 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-04-11 16:48:34 +02:00
Gil Raphaelli
a6f6ad74ae
release list: correctly label the Latest release ( #4921 )
...
since https://docs.github.com/en/graphql/overview/changelog#schema-changes-for-2021-01-19
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-03-30 17:08:21 +00:00
Mislav Marohnić
9cbfe73140
Have core commands have consistent Short description
2022-02-18 18:39:30 +01:00
Christian Gregg
c5dbf20ed4
Alias list as ls for all commands ( #5214 )
...
I always get tripped up whenever trying to list my codespaces, adding
`ls` as an alias to `list` feels natural enough.
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-02-17 13:53:42 +01:00
Mislav Marohnić
5d36bcc4de
Merge remote-tracking branch 'origin' into fix/release-discussion-category
2022-02-15 18:28:08 +01:00
Mislav Marohnić
72340076ae
tests
2022-02-15 18:27:58 +01:00
Sam Coe
28d2b52769
release create: warn about unpushed local git tag ( #5104 )
...
If `gh release create <TAG>` was called and TAG exists locally but not on the remote, this warns about the unpushed tag to avoid recreating it on the remote. The user can pass a value for `--target` to silence the warning.
2022-02-15 16:36:37 +01:00
Mislav Marohnić
4a3ef50d2d
Standardize pager output across commands ( #5141 )
...
Add pager functionality to the following commands:
- gist list
- pr checks
- release list
- run list
- run view
- secret list
- workflow list
- workflow view
Additionally, normalize error handling when starting the pager has
failed: only print a non-fatal notice to stderr instead of aborting the
whole command.
2022-02-01 08:36:51 +01:00
Adarsh K Kumar
bb3070aaa0
#4258 Add sub command to delete asset from release ( #4416 )
...
* #4258 Add sub command to delete asset from release
* Add just a bit of polish
Co-authored-by: Sam Coe <samcoe@users.noreply.github.com>
2022-01-21 15:49:36 +02:00
Mislav Marohnić
df21025133
Add tests for release create from commit log, annotated tag
2022-01-17 14:23:05 +01:00
Mislav Marohnić
7090922713
💅 release create tests
2022-01-17 14:05:01 +01:00
Mislav Marohnić
e54b29e9cf
Merge remote-tracking branch 'origin' into bugfix/release/create/no-tag-when-generated-available
2022-01-17 13:27:47 +01:00
Mislav Marohnić
44775f87c8
Add nolint directives to allow-list current lint violations
2022-01-14 19:52:52 +01:00
Mislav Marohnić
30c5ef23ee
Merge remote-tracking branch 'origin' into ask-stubber
2022-01-14 17:41:08 +01:00
Mislav Marohnić
456d55ead9
Have a single Render function handle all Markdown rendering
2022-01-13 19:39:43 +01:00
Mislav Marohnić
ff072574f9
Port release create tests to the new ask stubber
2022-01-12 23:57:19 +01:00
keijun-kumagai
6bc0b69355
feat(http): supress linter
2022-01-13 00:33:07 +09:00
Spenser Black
e8dfa9e728
Fix tag message option hidden
...
This fixes the option in `gh release create` to generate release notes
from the tag message being hidden whenever generated notes are
available. This changes the behavior from hiding "generate from tag" and
"generate from commit log" being hidden to *only* the "generate from
commit log" option being hidden.
Fixes #5027
2022-01-12 09:36:29 -05:00
keijun-kumagai
015b9f7fea
fix(release): discussion category with assets
2022-01-11 01:49:19 +09:00
Sergio Guzmán Mayorga
43ae0e5f87
Add interactive tag selector to create release ( #4525 )
2021-12-08 16:20:15 +04:00
Tomohiro Nishimura
a9d397be69
Add --generate-notes flag to gh release create command. ( #4467 )
2021-12-08 15:20:59 +04:00
Mislav Marohnić
acc1759434
Allow downloading the archive of the latest release
2021-11-30 15:52:51 +01:00
Mislav Marohnić
8e311847db
Ensure that we never download "legacy" archive formats
...
The `zipball_url` and `tarball_url` fields on the Release API payload
always link to "legacy" archives that are of a different format than
those one would get if they downloaded an archive from a Release using
the web interface. The GitHub API does not seem to publish links to
non-legacy archives.
This adds a redirect hack to turn "legacy" Codeload URLs into non-legacy
ones with the goal of ensuring the consistency of user experience when
downloading archives.
2021-11-30 15:52:51 +01:00
lpessoa
8058c4ea34
Adding gh release download for .zip and .tar.gz
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-11-30 15:52:51 +01:00
Sam Coe
260716a9f8
Repace shurcool/graphql with cli/shurcool-graphql
2021-11-17 12:57:43 -08:00
Mislav Marohnić
83a08aa3ba
Remove unnecessary pointers to Go maps
2021-10-25 17:20:12 +02:00
Alan Donovan
f4491c7a80
Add FlagErrorf; encapsulate FlagError.error
2021-10-21 11:40:20 -04:00
Sam Coe
2135918c47
Turn survey options into variables so they can't accidentally become unsynced with default value
2021-10-19 08:55:30 -07:00
Tomohiro Nishimura
c7f79e8447
Set default publish action to draft if --draft option is set
2021-10-19 22:37:46 +09:00
Reto Hablützel
f6e9734f17
add more hints to docs
2021-09-25 08:38:26 +02:00
Mislav Marohnić
11fbb60ae7
Rename the module to "github.com/cli/cli/v2"
2021-08-25 12:41:30 +02:00
Heath Stewart
e2973453b5
Add helper template functions for rendering tables ( #3519 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-08-23 21:00:25 +02:00
Des Preston
bdc5b55f55
pr comments
...
Only add discussion category to request if there is one. This eliminates
the need to update old tests.
Renaming the variable to something shorter.
2021-08-10 09:47:49 -04:00
Des Preston
45a4257612
add --discussion-category flag to release cmd
...
Flag for signaling that a discussion should be created with the given
category for the release. Discussions are not supported for draft
releases. If a discussion category is given for a draft, an err will be
shown.
Closes #3381
2021-07-15 10:07:21 -04:00