hub-release(1) | hub manual | hub-release(1) |
hub-release - Manage GitHub Releases for the current repository.
hub release [--include-drafts] [--exclude-prereleases] [-L
LIMIT] [-f FORMAT]
hub release show [-f FORMAT] TAG
hub release create [-dpoc] [-a FILE] [-m MESSAGE|-F
FILE] [-t TARGET] TAG
hub release edit [options] TAG
hub release download TAG [-i PATTERN]
hub release delete TAG
With no arguments, shows a list of existing releases.
show
With --show-downloads, include the "Downloads" section.
create
edit
Without --message or --file, a text editor will open pre-populated with the current release title and body. To re-use existing title and body unchanged, pass -m "".
download
delete
-d, --include-drafts
-p, --exclude-prereleases
-L, --limit
-d, --draft
-p, --prerelease
-a, --attach FILE
If FILE is in the "filename#text" format, the text after the "#" character is taken as asset label.
-m, --message MESSAGE
When multiple --message are passed, their values are concatenated with a blank line in-between.
When neither --message nor --file were supplied to release create, a text editor will open to author the title and description in.
-F, --file FILE
-e, --edit
-o, --browse
-c, --copy
-t, --commitish TARGET
-i, --include PATTERN
-f, --format FORMAT
%U: the URL of this release
%uT: tarball URL
%uZ: zipball URL
%uA: asset upload URL
%S: state (i.e. "draft", "pre-release")
%sC: set color to yellow or red, depending on state
%t: release name
%T: release tag
%b: body
%as: the list of assets attached to this release
%cD: created date-only (no time of day)
%cr: created date, relative
%ct: created date, UNIX timestamp
%cI: created date, ISO 8601 format
%pD: published date-only (no time of day)
%pr: published date, relative
%pt: published date, UNIX timestamp
%pI: published date, ISO 8601 format
%n: newline
%%: a literal %
--color[=WHEN]
TAG
18 Jul 2021 | hub version 2.14.2 |