From 246cda08075d3538e4c608a65eb933ad2f217453 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sat, 16 Dec 2023 14:11:58 +0100 Subject: [PATCH] Enhancement: Expose RELEASE_HTML_URL environment variable --- CHANGELOG.md | 5 +++++ actions/github/release/create/action.yaml | 1 + 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index be65537..9fccf87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), For a full diff see [`1.8.0...main`][1.8.0...main]. +### Changed + +- Started exposing a `RELEASE_HTML_URL` environment variable after creating a release with `actions/github/release/create` ([#183]), by [@localheinz] + ## [`1.8.0`][1.8.0] For a full diff see [`1.7.0...1.8.0`][1.7.0...1.8.0]. @@ -176,5 +180,6 @@ For a full diff see [`1.0.0...main`][1.0.0...main]. [#123]: https://github.com/ergebnis/.github/pull/123 [#124]: https://github.com/ergebnis/.github/pull/124 [#142]: https://github.com/ergebnis/.github/pull/142 +[#183]: https://github.com/ergebnis/.github/pull/183 [@localheinz]: https://github.com/localheinz diff --git a/actions/github/release/create/action.yaml b/actions/github/release/create/action.yaml index 708f69d..5898cf0 100644 --- a/actions/github/release/create/action.yaml +++ b/actions/github/release/create/action.yaml @@ -44,6 +44,7 @@ runs: tag_name: process.env.RELEASE_TAG, }); + core.exportVariable('RELEASE_HTML_URL', response.data.html_url); core.exportVariable('RELEASE_ID', response.data.id); core.exportVariable('RELEASE_UPLOAD_URL', response.data.upload_url); } catch (error) {