Releases: cheton/github-release-cli
Releases · cheton/github-release-cli
v2.1.0
What's Changed
- feat: replace
babel-runtime
with@babel/runtime
by @hex0cter in #26 - fix: fixes issue where markdown cant be passed into the body by @matthewdolman in #19
New Contributors
- @hex0cter made their first contribution in #26
- @matthewdolman made their first contribution in #19
Full Changelog: v2.0.0...v2.1.0
v2.0.0
Breaking Changes
- Only long option names are supported
Usage: github-release <command> [<args>]
Options:
-V, --version output the version number
--baseurl <baseurl> API endpoint (default: "https://api.github.com")
--token <token> OAuth2 token (default: null)
--owner <owner> The repository owner. (default: "")
--repo <repo> The repository name. (default: "")
--tag <tag> The name of the tag.
--commitish <value> Specifies the commitish value for tag. Unused if the tag already exists.
--release-id <id> The release id.
--release-name <name> The name of the release. (default: "")
--body <body> Text describing the contents of the tag.
--draft [value] `true` makes the release a draft, and `false` publishes the release.
--prerelease [value] `true` to identify the release as a prerelease, `false` to identify the release as a full release.
-h, --help display help for command
- Renamed
--name
to--release-name
v1.3.1
v1.3.0
v1.2.0
v1.1.0
v1.0.1
v1.0.0
v0.4.1
Support for disabling draft and prerelease (3d7a540, #2)
Create a prerelease
github-release upload \
--owner cheton \
--repo github-release-cli \
--tag "v0.1.0" \
--name "v0.1.0" \
--body "This is a prerelease" \
--prerelease
Change a prerelease to a published release
github-release upload \
--owner cheton \
--repo github-release-cli \
--tag "v0.1.0" \
--name "v0.1.0" \
--body "This is a published release" \
--prerelease=false