- improve setting the outputs when loading the pr data from the cache
This commit is contained in:
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "pr-collector",
|
||||
"version": "v1.0.2",
|
||||
"version": "v1.0.4",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "pr-collector",
|
||||
"version": "v1.0.2",
|
||||
"version": "v1.0.4",
|
||||
"license": "Apache 2.0",
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.10.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "pr-collector",
|
||||
"version": "v1.0.3",
|
||||
"version": "v1.0.4",
|
||||
"description": "Library to fetch GitHub pull request between 2 tags/sha1 hashes.",
|
||||
"main": "lib/prCollector.js",
|
||||
"types": "lib/prCollector.d.ts",
|
||||
|
||||
@@ -91,7 +91,6 @@ export class PullRequestCollector {
|
||||
failOrError(`💥 Missing or couldn't resolve 'toTag'`, this.failOnError)
|
||||
return null
|
||||
} else {
|
||||
core.setOutput('toTag', thisTag.name)
|
||||
core.debug(`Resolved 'toTag' as ${thisTag.name}`)
|
||||
}
|
||||
|
||||
@@ -100,7 +99,6 @@ export class PullRequestCollector {
|
||||
failOrError(`💥 Unable to retrieve previous tag given ${this.toTag}`, this.failOnError)
|
||||
return null
|
||||
}
|
||||
core.setOutput('fromTag', previousTag.name)
|
||||
core.debug(`fromTag resolved via previousTag as: ${previousTag.name}`)
|
||||
|
||||
if (this.fetchReleaseInformation) {
|
||||
|
||||
Reference in New Issue
Block a user