Skip to content

Commit 49d6e36

Browse files
Upgrade CLI to v1.5.0 (#17)
* Update Binary * Document release_url_fragment
1 parent f77e7f3 commit 49d6e36

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ The Action exposes some outputs you can further use in your workflow. The Action
150150
The generated compare URL for the just created relase. For example `https://github.com/org/repo/compare/v1.0.0...v1.1.0`.
151151
The value is only available, if the Action could generate a compare URL based on the available CHANGELOG data.
152152

153+
### `release_url_fragment`
154+
The URL fragment for the just created release. For example '#v100---2021-02-01'. You can use this to generate URLs that point to the newly created release in your CHANGELOG.
155+
153156
### `unreleased_compare_url`
154157
The generated compare URL between the latest version and the target revision. For example `https://github.com/org/repo/compare/v1.0.0...HEAD`.
155158
The value is only available, if the Action could generate a compare URL based on the available CHANGELOG data.
@@ -173,6 +176,10 @@ See workflow below on how to use these output values in your workflow.
173176
# https://github.com/org/repo/compare/v1.0.0...v1.1.0
174177
run: "echo ${{ steps.changelog-updater.outputs.release_compare_url }}"
175178
179+
- name: "release_url_fragment"
180+
# #v100---2021-02-01
181+
run: "echo ${{ steps.changelog-updater.outputs.release_url_fragment }}"
182+
176183
- name: "unreleased_compare_url"
177184
# https://github.com/org/repo/compare/v1.0.0...HEAD
178185
run: "echo ${{ steps.changelog-updater.outputs.unreleased_compare_url }}"

action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ inputs:
2727
outputs:
2828
release_compare_url:
2929
description: The generated compare URL for the just created relase. For example https://github.com/org/repo/compare/v1.0.0...v1.1.0
30+
release_url_fragment:
31+
description: The URL fragment for the just created release. For example '#v100---2021-02-01'. You can use this to generate URLs that point to the newly created release in your CHANGELOG.
3032
unreleased_compare_url:
3133
description: The generated compare URL between the latest version and the target revision. For example https://github.com/org/repo/compare/v1.0.0...HEAD
3234

changelog-updater

1.33 KB
Binary file not shown.

composer.lock

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)