From 19ca4c1e111be3ccd0d27c53a3d7cea2972f5889 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Wed, 30 Mar 2022 15:11:03 +0200 Subject: [PATCH] Fix: Capture response --- CHANGELOG.md | 14 ++++++++++++-- actions/github/release/create/action.yaml | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3283296..5a9d6e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## Unreleased -For a full diff see [`1.4.0...main`][1.4.0...main]. +For a full diff see [`1.4.1...main`][1.4.1...main]. + +## [`1.4.1`][1.4.1] + +For a full diff see [`1.4.0...1.4.1`][1.4.0...1.4.1]. + +### Fixed + +- Captured response in the composite action `github/release/create` ([#82]), by [@localheinz] ## [`1.4.0`][1.4.0] @@ -91,7 +99,8 @@ For a full diff see [`1.0.0...main`][1.0.0...main]. [1.3.0...1.3.1]: https://github.com/ergebnis/.github/compare/1.3.0...1.3.1 [1.3.1...1.3.2]: https://github.com/ergebnis/.github/compare/1.3.1...1.3.2 [1.3.2...1.4.0]: https://github.com/ergebnis/.github/compare/1.3.2...1.4.0 -[1.4.0...main]: https://github.com/ergebnis/.github/compare/1.4.0...main +[1.4.0...1.4.1]: https://github.com/ergebnis/.github/compare/1.4.0...1.4.1 +[1.4.1...main]: https://github.com/ergebnis/.github/compare/1.4.1...main [#47]: https://github.com/ergebnis/.github/pull/47 [#48]: https://github.com/ergebnis/.github/pull/48 @@ -106,5 +115,6 @@ For a full diff see [`1.0.0...main`][1.0.0...main]. [#76]: https://github.com/ergebnis/.github/pull/76 [#79]: https://github.com/ergebnis/.github/pull/79 [#80]: https://github.com/ergebnis/.github/pull/80 +[#82]: https://github.com/ergebnis/.github/pull/82 [@localheinz]: https://github.com/localheinz diff --git a/actions/github/release/create/action.yaml b/actions/github/release/create/action.yaml index 1db5396..5b386be 100644 --- a/actions/github/release/create/action.yaml +++ b/actions/github/release/create/action.yaml @@ -34,7 +34,7 @@ runs: } try { - await github.rest.repos.createRelease({ + const response = await github.rest.repos.createRelease({ draft: false, generate_release_notes: true, name: process.env.RELEASE_TAG,