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.
With --show-downloads, include the "Downloads" section.
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 "".
-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
-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
%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
%%: a literal %
|18 Jul 2021||hub version 2.14.2|