@varlet/release 0.2.4 → 0.2.5

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 CHANGED
@@ -119,8 +119,7 @@ async function publish({ preRelease, checkRemoteVersion, npmTag }) {
119
119
  }
120
120
  if (preRelease) {
121
121
  args.push("--tag", "alpha");
122
- }
123
- if (npmTag) {
122
+ } else if (npmTag) {
124
123
  args.push("--tag", npmTag);
125
124
  }
126
125
  const ret = await (0, import_execa.execa)("pnpm", args);
package/dist/index.js CHANGED
@@ -76,8 +76,7 @@ async function publish({ preRelease, checkRemoteVersion, npmTag }) {
76
76
  }
77
77
  if (preRelease) {
78
78
  args.push("--tag", "alpha");
79
- }
80
- if (npmTag) {
79
+ } else if (npmTag) {
81
80
  args.push("--tag", npmTag);
82
81
  }
83
82
  const ret = await execa("pnpm", args);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@varlet/release",
3
3
  "type": "module",
4
- "version": "0.2.4",
4
+ "version": "0.2.5",
5
5
  "description": "release all packages and generate changelogs",
6
6
  "keywords": [
7
7
  "varlet",