We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 82166f3 + 8d66606 commit 6202895Copy full SHA for 6202895
.github/actions/github-release/action.yml
@@ -138,14 +138,16 @@ runs:
138
await state.refreshToken()
139
140
console.log('Publishing release')
141
+ const isPrerelease = '${{ inputs.tag-name }}'.indexOf('-rc') > 0
142
await updateRelease(
143
console,
144
state.accessToken,
145
'${{ inputs.owner }}',
146
'${{ inputs.repo }}',
147
release.id, {
148
draft: false,
- prerelease: '${{ inputs.tag-name }}'.indexOf('-rc') > 0
149
+ prerelease: isPrerelease,
150
+ make_latest : !isPrerelease
151
}
152
)
153
- name: update check-run
0 commit comments