Skip to content

Commit

Permalink
Enhancement: Expose RELEASE_HTML_URL environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Dec 16, 2023
1 parent d01eaa7 commit 246cda0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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].
Expand Down Expand Up @@ -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
1 change: 1 addition & 0 deletions actions/github/release/create/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 246cda0

Please sign in to comment.