@varlet/release 0.2.1 → 0.2.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 +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -120,8 +120,8 @@ async function pushGit(version, remote = "origin", skipGitTag = false) {
|
|
|
120
120
|
await (0, import_execa.execa)("git", ["commit", "-m", `v${version}`]);
|
|
121
121
|
if (!skipGitTag) {
|
|
122
122
|
await (0, import_execa.execa)("git", ["tag", `v${version}`]);
|
|
123
|
+
await (0, import_execa.execa)("git", ["push", remote, `v${version}`]);
|
|
123
124
|
}
|
|
124
|
-
await (0, import_execa.execa)("git", ["push", remote, `v${version}`]);
|
|
125
125
|
const ret = await (0, import_execa.execa)("git", ["push"]);
|
|
126
126
|
s.success({ text: "Push remote repository successfully" });
|
|
127
127
|
ret.stdout && logger_default.info(ret.stdout);
|
package/dist/index.js
CHANGED
|
@@ -77,8 +77,8 @@ async function pushGit(version, remote = "origin", skipGitTag = false) {
|
|
|
77
77
|
await execa("git", ["commit", "-m", `v${version}`]);
|
|
78
78
|
if (!skipGitTag) {
|
|
79
79
|
await execa("git", ["tag", `v${version}`]);
|
|
80
|
+
await execa("git", ["push", remote, `v${version}`]);
|
|
80
81
|
}
|
|
81
|
-
await execa("git", ["push", remote, `v${version}`]);
|
|
82
82
|
const ret = await execa("git", ["push"]);
|
|
83
83
|
s.success({ text: "Push remote repository successfully" });
|
|
84
84
|
ret.stdout && logger_default.info(ret.stdout);
|