Skip to content

Commit 17449a2

Browse files
committed
Add draft release support (fixes #19)
2 parents ec2ff03 + 2d9c0f4 commit 17449a2

File tree

4 files changed

+8417
-34200
lines changed

4 files changed

+8417
-34200
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Optional Arguments
1818
- `file_glob`: If set to true, the `file` argument can be a glob pattern (`asset_name` is ignored in this case) (Default: `false`)
1919
- `overwrite`: If an asset with the same name already exists, overwrite it (Default: `false`).
2020
- `promote`: If a prerelease already exists, promote it to a release (Default: `false`).
21+
- `draft`: Sets the release as a draft instead of publishing it, allowing you to make any edits needed before releasing (Default: `false`).
2122
- `prerelease`: Mark the release as a pre-release (Default: `false`).
2223
- `make_latest`: Mark the release as the latest release for the repository (Default: `true`).
2324
- `release_name`: Explicitly set a release name. (Defaults: implicitly same as `tag` via GitHub API).

action.yml

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ inputs:
2424
description: 'Promote a prerelease to release. Defaults to "false".'
2525
file_glob:
2626
description: 'If true the file can be a glob pattern, asset_name is ignored if this is true.'
27+
draft:
28+
description: 'Mark the release as a draft. Defaults to "false".'
2729
prerelease:
2830
description: 'Mark the release as a pre-release. Defaults to "false".'
2931
make_latest:

0 commit comments

Comments
 (0)