Skip to content

Commit 1b54431

Browse files
authored
Merge pull request #80 from ergebnis/feature/id-and-upload-url
Enhancement: Expose `RELEASE_ID` and `RELEASE_UPLOAD_URL` environment variables
2 parents c5505b8 + 20257e0 commit 1b54431

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

CHANGELOG.md

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

77
## Unreleased
88

9-
For a full diff see [`1.3.2...main`][1.3.2...main].
9+
For a full diff see [`1.4.0...main`][1.4.0...main].
10+
11+
## [`1.4.0`][1.4.0]
12+
13+
For a full diff see [`1.3.2...1.4.0`][1.3.2...1.4.0].
1014

1115
### Changed
1216

1317
- Updated `actions/github-script` ([#79]), by [@localheinz]
18+
- Started exposing `RELEASE_ID` and `RELEASE_UPLOAD_URL` environment variable in the composite action `github/release/create` ([#80]), by [@localheinz]
1419

1520
## [`1.3.2`][1.3.2]
1621

@@ -76,6 +81,7 @@ For a full diff see [`1.0.0...main`][1.0.0...main].
7681
[1.3.0]: https://github.com/ergebnis/.github/releases/tag/1.3.0
7782
[1.3.1]: https://github.com/ergebnis/.github/releases/tag/1.3.1
7883
[1.3.2]: https://github.com/ergebnis/.github/releases/tag/1.3.2
84+
[1.4.0]: https://github.com/ergebnis/.github/releases/tag/1.4.0
7985

8086
[ca7f15d...1.0.0]: https://github.com/ergebnis/.github/compare/ca7f15d...1.0.0
8187
[1.0.0...1.1.0]: https://github.com/ergebnis/.github/compare/1.0.0...1.1.0
@@ -84,7 +90,8 @@ For a full diff see [`1.0.0...main`][1.0.0...main].
8490
[1.2.1...1.3.0]: https://github.com/ergebnis/.github/compare/1.2.1...1.3.0
8591
[1.3.0...1.3.1]: https://github.com/ergebnis/.github/compare/1.3.0...1.3.1
8692
[1.3.1...1.3.2]: https://github.com/ergebnis/.github/compare/1.3.1...1.3.2
87-
[1.3.2...main]: https://github.com/ergebnis/.github/compare/1.3.2...main
93+
[1.3.2...1.4.0]: https://github.com/ergebnis/.github/compare/1.3.2...1.4.0
94+
[1.4.0...main]: https://github.com/ergebnis/.github/compare/1.4.0...main
8895

8996
[#47]: https://github.com/ergebnis/.github/pull/47
9097
[#48]: https://github.com/ergebnis/.github/pull/48
@@ -98,5 +105,6 @@ For a full diff see [`1.0.0...main`][1.0.0...main].
98105
[#73]: https://github.com/ergebnis/.github/pull/73
99106
[#76]: https://github.com/ergebnis/.github/pull/76
100107
[#79]: https://github.com/ergebnis/.github/pull/79
108+
[#80]: https://github.com/ergebnis/.github/pull/80
101109

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

actions/github/release/create/action.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ runs:
4343
repo: context.repo.repo,
4444
tag_name: process.env.RELEASE_TAG,
4545
});
46+
47+
core.exportVariable('RELEASE_ID', response.data.id);
48+
core.exportVariable('RELEASE_UPLOAD_URL', response.data.upload_url);
4649
} catch (error) {
4750
core.setFailed(error.message);
4851
}

0 commit comments

Comments
 (0)