zarro 1.126.2 → 1.128.0
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.
|
@@ -24,15 +24,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
24
24
|
console.log(`Dry run: would have tagged at ${version}`);
|
|
25
25
|
return this.emit("end");
|
|
26
26
|
}
|
|
27
|
-
if (versionInfo.isPreRelease && opts.ignorePreRelease) {
|
|
28
|
-
console.log(`Not tagging: this is a pre-release. Set ignorePreRelease: false on options to tag pre-releases.`);
|
|
29
|
-
return this.emit("end");
|
|
30
|
-
}
|
|
31
27
|
try {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
28
|
+
if (versionInfo.isPreRelease && opts.ignorePreRelease) {
|
|
29
|
+
console.log(`Not tagging: this is a pre-release. Set ignorePreRelease: false on options to tag pre-releases.`);
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
await gitTag({
|
|
33
|
+
tag: `v${version}`,
|
|
34
|
+
comment: `:bookmark: ${version}`
|
|
35
|
+
});
|
|
36
|
+
}
|
|
36
37
|
if (opts.push) {
|
|
37
38
|
await gitPushTags();
|
|
38
39
|
await gitPush();
|
|
@@ -24,12 +24,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
24
24
|
console.log(`Dry run: would have tagged at ${version}`);
|
|
25
25
|
return this.emit("end");
|
|
26
26
|
}
|
|
27
|
-
if (versionInfo.isPreRelease && options.ignorePreRelease) {
|
|
28
|
-
console.log(`Not tagging: this is a pre-release. Set ignorePreRelease: false on options to tag pre-releases.`);
|
|
29
|
-
return this.emit("end");
|
|
30
|
-
}
|
|
31
27
|
try {
|
|
32
|
-
|
|
28
|
+
if (versionInfo.isPreRelease && options.ignorePreRelease) {
|
|
29
|
+
console.log(`Not tagging: this is a pre-release. Set ignorePreRelease: false on options to tag pre-releases.`);
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
await gitTag(`v${version}`, `:bookmark: ${version}`);
|
|
33
|
+
}
|
|
33
34
|
if (options.push) {
|
|
34
35
|
await gitPushTags();
|
|
35
36
|
await gitPush();
|