@varlet/release 0.4.1 → 0.4.2
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/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -191,7 +191,7 @@ async function publish({ preRelease, checkRemoteVersion, npmTag }) {
|
|
|
191
191
|
throw new Error("\n" + ret.stderr);
|
|
192
192
|
} else {
|
|
193
193
|
s.success({ text: "Publish all packages successfully" });
|
|
194
|
-
ret.stdout && import_rslog.logger.
|
|
194
|
+
ret.stdout && import_rslog.logger.log(ret.stdout);
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
async function pushGit(version, remote = "origin", skipGitTag = false) {
|
|
@@ -214,7 +214,7 @@ async function pushGit(version, remote = "origin", skipGitTag = false) {
|
|
|
214
214
|
throwOnError: true
|
|
215
215
|
});
|
|
216
216
|
s.success({ text: "Push remote repository successfully" });
|
|
217
|
-
ret.stdout && import_rslog.logger.
|
|
217
|
+
ret.stdout && import_rslog.logger.log(ret.stdout);
|
|
218
218
|
}
|
|
219
219
|
function getPackageJsons() {
|
|
220
220
|
const packageJsons = ["package.json", ...import_glob.glob.sync("packages/*/package.json")];
|
package/dist/index.js
CHANGED
|
@@ -147,7 +147,7 @@ async function publish({ preRelease, checkRemoteVersion, npmTag }) {
|
|
|
147
147
|
throw new Error("\n" + ret.stderr);
|
|
148
148
|
} else {
|
|
149
149
|
s.success({ text: "Publish all packages successfully" });
|
|
150
|
-
ret.stdout && logger.
|
|
150
|
+
ret.stdout && logger.log(ret.stdout);
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
async function pushGit(version, remote = "origin", skipGitTag = false) {
|
|
@@ -170,7 +170,7 @@ async function pushGit(version, remote = "origin", skipGitTag = false) {
|
|
|
170
170
|
throwOnError: true
|
|
171
171
|
});
|
|
172
172
|
s.success({ text: "Push remote repository successfully" });
|
|
173
|
-
ret.stdout && logger.
|
|
173
|
+
ret.stdout && logger.log(ret.stdout);
|
|
174
174
|
}
|
|
175
175
|
function getPackageJsons() {
|
|
176
176
|
const packageJsons = ["package.json", ...glob.sync("packages/*/package.json")];
|