mirror of
https://github.com/joaquinjsb/gitea-release-please-action
synced 2026-05-12 17:41:38 +02:00
feat: output tag name and upload url (#43)
The tag name is useful to interact with the release on following steps, and the upload url is useful to upload assets to the release. Fix: https://github.com/GoogleCloudPlatform/release-please-action/issues/8 Fix: https://github.com/GoogleCloudPlatform/release-please-action/issues/41
This commit is contained in:
7
index.js
7
index.js
@@ -19,7 +19,12 @@ async function main () {
|
||||
token
|
||||
})
|
||||
const releaseCreated = await gr.createRelease()
|
||||
if (releaseCreated) core.setOutput('release_created', true)
|
||||
if (releaseCreated) {
|
||||
const { upload_url, tag_name } = releaseCreated
|
||||
core.setOutput('release_created', true)
|
||||
core.setOutput('upload_url', upload_url)
|
||||
core.setOutput('tag_name', tag_name)
|
||||
}
|
||||
|
||||
// Next we check for PRs merged since the last release, and groom the
|
||||
// release PR:
|
||||
|
||||
Reference in New Issue
Block a user