File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 14
14
required : false
15
15
type : string
16
16
default : ' /'
17
+ draft :
18
+ required : false
19
+ type : boolean
20
+ default : false
17
21
outputs :
18
22
json :
19
23
description : JSON aggregation of release.json artifacts
@@ -147,7 +151,7 @@ jobs:
147
151
if : steps.tag.outputs.exists == 'false'
148
152
uses : galargh/action-gh-release@571276229e7c9e6ea18f99bad24122a4c3ec813f # https://github.com/galargh/action-gh-release/pull/1
149
153
with :
150
- draft : false
154
+ draft : ${{ inputs.draft }}
151
155
tag_name : ${{ steps.version.outputs.tag }}
152
156
generate_release_notes : true
153
157
target_commitish : ${{ github.sha }}
@@ -160,7 +164,7 @@ jobs:
160
164
SOURCE : ${{ matrix.source }}
161
165
RELEASE : |
162
166
{
163
- "draft": false ,
167
+ "draft": ${{ inputs.draft }} ,
164
168
"version": "${{ steps.version.outputs.tag }}",
165
169
"url": "${{ steps.release.outputs.url }}",
166
170
"id": "${{ steps.release.outputs.id }}",
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
7
7
## Unreleased
8
8
9
+ ## [ 1.0.20] - 2025-02-24
10
+ ### Added
11
+ - an optional ` draft ` input to the ` releaser ` workflow
12
+
9
13
## [ 1.0.19] - 2025-02-24
10
14
### Added
11
15
- an optional ` spell-check ` step to the ` js-test-and-release ` workflow
You can’t perform that action at this time.
0 commit comments