Skip to content

Commit 5a85613

Browse files
authored
Merge pull request #183 from ergebnis/feature/release-html-url
Enhancement: Expose `RELEASE_HTML_URL` environment variable
2 parents d01eaa7 + 246cda0 commit 5a85613

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88

99
For a full diff see [`1.8.0...main`][1.8.0...main].
1010

11+
### Changed
12+
13+
- Started exposing a `RELEASE_HTML_URL` environment variable after creating a release with `actions/github/release/create` ([#183]), by [@localheinz]
14+
1115
## [`1.8.0`][1.8.0]
1216

1317
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].
176180
[#123]: https://github.com/ergebnis/.github/pull/123
177181
[#124]: https://github.com/ergebnis/.github/pull/124
178182
[#142]: https://github.com/ergebnis/.github/pull/142
183+
[#183]: https://github.com/ergebnis/.github/pull/183
179184

180185
[@localheinz]: https://github.com/localheinz

actions/github/release/create/action.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ runs:
4444
tag_name: process.env.RELEASE_TAG,
4545
});
4646
47+
core.exportVariable('RELEASE_HTML_URL', response.data.html_url);
4748
core.exportVariable('RELEASE_ID', response.data.id);
4849
core.exportVariable('RELEASE_UPLOAD_URL', response.data.upload_url);
4950
} catch (error) {

0 commit comments

Comments
 (0)