There was an error while loading. Please reload this page.
1 parent 13ada62 commit 0dfcd04Copy full SHA for 0dfcd04
1 file changed
scripts/version.js
@@ -29,6 +29,8 @@ async function latest(repo) {
29
const tagsRaw = await repo.git.raw(['tag', '--sort=-v:refname']);
30
const allTags = tagsRaw.split('\n').filter(Boolean).slice(0, MAX_TAGS_LIMIT);
31
32
+ console.log('allTags:\n', allTags);
33
+
34
for (let tag of allTags) {
35
const res = repo.filter(tag);
36
if (res !== null) {
@@ -52,6 +54,9 @@ async function main() {
52
54
let { version: srcVer } = await latest(src);
53
55
let { version: dstVer } = await latest(dst);
56
57
+ console.log('srcVer:', srcVer);
58
+ console.log('dstVer:', dstVer);
59
60
if (!dstVer || semver.gt(srcVer, dstVer)) {
61
console.log(srcVer);
62
} else {
0 commit comments