Update the note about from/toTag.

This commit is contained in:
ipcjs
2022-06-06 16:08:31 +08:00
parent 6c807b044d
commit 0bc0c91c3e
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -137,6 +137,8 @@ jobs:
💡 By default not specifying `fromTag` or `toTag` will resolve `toTag` from either the `ref` or alternatively fallback to the latest tag from the git API. `fromTag` is resolved by sorting tags using [semver](https://semver.org/). Check the [configuration](#configuration-specification) for alternatives. 💡 By default not specifying `fromTag` or `toTag` will resolve `toTag` from either the `ref` or alternatively fallback to the latest tag from the git API. `fromTag` is resolved by sorting tags using [semver](https://semver.org/). Check the [configuration](#configuration-specification) for alternatives.
💡 `fromTag` and `toTag` not just `tag`, they can be any legal git's `ref`
### Configuration ### Configuration
The action supports flexible configuration options to modify vast areas of its behavior. To do so, provide the configuration file to the workflow using the `configuration` setting. The action supports flexible configuration options to modify vast areas of its behavior. To do so, provide the configuration file to the workflow using the `configuration` setting.
+1 -1
View File
@@ -214,7 +214,7 @@ export class ReleaseNotes {
core.info(`️ Retrieved ${prCommits.length} commits for ${owner}/${repo}`) core.info(`️ Retrieved ${prCommits.length} commits for ${owner}/${repo}`)
return prCommits.map(function (commit) { return prCommits.map(function (commit): PullRequestInfo {
return { return {
number: 0, number: 0,
title: commit.summary, title: commit.summary,