mirror of
https://github.com/PaulHatch/semantic-version.git
synced 2025-12-27 13:08: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)) || '';
|
.find(t => tagFormatter.IsValid(t)) || '';
|
||||||
}
|
}
|
||||||
tag = tag.trim();
|
tag = tag.trim();
|
||||||
|
core.warning(`Use index.js ! `)
|
||||||
|
core.warning(`releasePattern=${releasePattern}, currentTag=${currentTag}, isTagged=${isTagged}, currentMajor=${currentMajor}, currentMinor=${currentMinor}, currentPatch=${currentPatch}`);
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
tag = '';
|
tag = '';
|
||||||
|
|
|
||||||
|
|
@ -69,6 +69,8 @@ class DefaultLastReleaseResolver {
|
||||||
.find(t => tagFormatter.IsValid(t)) || '';
|
.find(t => tagFormatter.IsValid(t)) || '';
|
||||||
}
|
}
|
||||||
tag = tag.trim();
|
tag = tag.trim();
|
||||||
|
core.warning(`Use DefaultLast.js ! `)
|
||||||
|
core.warning(`releasePattern=${releasePattern}, currentTag=${currentTag}, isTagged=${isTagged}, currentMajor=${currentMajor}, currentMinor=${currentMinor}, currentPatch=${currentPatch}`);
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
tag = '';
|
tag = '';
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
|
import * as core from '@actions/core';
|
||||||
|
import { ActionConfig } from "../ActionConfig";
|
||||||
import { cmd } from "../CommandRunner";
|
import { cmd } from "../CommandRunner";
|
||||||
import { TagFormatter } from "../formatting/TagFormatter";
|
import { TagFormatter } from "../formatting/TagFormatter";
|
||||||
import { LastReleaseResolver } from "./LastReleaseResolver";
|
import { LastReleaseResolver } from "./LastReleaseResolver";
|
||||||
import { ReleaseInformation } from "./ReleaseInformation";
|
import { ReleaseInformation } from "./ReleaseInformation";
|
||||||
import { ActionConfig } from "../ActionConfig";
|
|
||||||
import * as core from '@actions/core';
|
|
||||||
|
|
||||||
export class DefaultLastReleaseResolver implements LastReleaseResolver {
|
export class DefaultLastReleaseResolver implements LastReleaseResolver {
|
||||||
|
|
||||||
|
|
@ -50,6 +50,9 @@ export class DefaultLastReleaseResolver implements LastReleaseResolver {
|
||||||
}
|
}
|
||||||
|
|
||||||
tag = tag.trim();
|
tag = tag.trim();
|
||||||
|
core.warning(`Use DefaultLast.js ! `)
|
||||||
|
core.warning(`releasePattern=${releasePattern}, currentTag=${currentTag}, isTagged=${isTagged}, currentMajor=${currentMajor}, currentMinor=${currentMinor}, currentPatch=${currentPatch}`);
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
tag = '';
|
tag = '';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue