mirror of
https://github.com/PaulHatch/semantic-version.git
synced 2025-12-27 04:58:17 +00:00
debug1
This commit is contained in:
parent
305899e7da
commit
72baeec34d
3 changed files with 10 additions and 2 deletions
3
dist/index.js
vendored
3
dist/index.js
vendored
|
|
@ -1069,6 +1069,9 @@ class DefaultLastReleaseResolver {
|
|||
.find(t => tagFormatter.IsValid(t)) || '';
|
||||
}
|
||||
tag = tag.trim();
|
||||
core.warning(`Use index.js ! `)
|
||||
core.warning(`releasePattern=${releasePattern}, currentTag=${currentTag}, isTagged=${isTagged}, currentMajor=${currentMajor}, currentMinor=${currentMinor}, currentPatch=${currentPatch}`);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
tag = '';
|
||||
|
|
|
|||
|
|
@ -69,6 +69,8 @@ class DefaultLastReleaseResolver {
|
|||
.find(t => tagFormatter.IsValid(t)) || '';
|
||||
}
|
||||
tag = tag.trim();
|
||||
core.warning(`Use DefaultLast.js ! `)
|
||||
core.warning(`releasePattern=${releasePattern}, currentTag=${currentTag}, isTagged=${isTagged}, currentMajor=${currentMajor}, currentMinor=${currentMinor}, currentPatch=${currentPatch}`);
|
||||
}
|
||||
catch (err) {
|
||||
tag = '';
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
import * as core from '@actions/core';
|
||||
import { ActionConfig } from "../ActionConfig";
|
||||
import { cmd } from "../CommandRunner";
|
||||
import { TagFormatter } from "../formatting/TagFormatter";
|
||||
import { LastReleaseResolver } from "./LastReleaseResolver";
|
||||
import { ReleaseInformation } from "./ReleaseInformation";
|
||||
import { ActionConfig } from "../ActionConfig";
|
||||
import * as core from '@actions/core';
|
||||
|
||||
export class DefaultLastReleaseResolver implements LastReleaseResolver {
|
||||
|
||||
|
|
@ -50,6 +50,9 @@ export class DefaultLastReleaseResolver implements LastReleaseResolver {
|
|||
}
|
||||
|
||||
tag = tag.trim();
|
||||
core.warning(`Use DefaultLast.js ! `)
|
||||
core.warning(`releasePattern=${releasePattern}, currentTag=${currentTag}, isTagged=${isTagged}, currentMajor=${currentMajor}, currentMinor=${currentMinor}, currentPatch=${currentPatch}`);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
tag = '';
|
||||
|
|
|
|||
Loading…
Reference in a new issue