@taole/deploy-helper 0.7.4-beta.2 → 0.7.4-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/tagRelease.mjs +2 -2
- package/package.json +1 -1
package/lib/tagRelease.mjs
CHANGED
|
@@ -13,7 +13,7 @@ async function getTag(workDir, mode) {
|
|
|
13
13
|
const prefix = getTagNamePrefix(packageJson, mode);
|
|
14
14
|
const git = simpleGit(workDir);
|
|
15
15
|
const tags = await git.tags();
|
|
16
|
-
console.log(`tags: ${JSON.stringify(tags)}`);
|
|
16
|
+
// console.log(`tags: ${JSON.stringify(tags)}`);
|
|
17
17
|
let tagList = tags.all.filter((tag) => tag.startsWith(prefix)).slice(0, 15);
|
|
18
18
|
let tag = null;
|
|
19
19
|
if (tagList.length > 0) {
|
|
@@ -31,7 +31,7 @@ async function getTag(workDir, mode) {
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
if (tag) {
|
|
34
|
-
log(
|
|
34
|
+
log(`已选择tag: ${tag}`);
|
|
35
35
|
}
|
|
36
36
|
return tag;
|
|
37
37
|
}
|