@orderly.network/npm-release 0.0.6-alpha.1 → 0.0.7

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.
Files changed (2) hide show
  1. package/index.mjs +3 -2
  2. package/package.json +2 -2
package/index.mjs CHANGED
@@ -39,6 +39,7 @@ const RELEASE_IT_CONFIG = {
39
39
  git: {
40
40
  commit: true,
41
41
  tag: isPublicRegistry,
42
+ tagName: "v${version}",
42
43
  push: true,
43
44
  // Allow release when working dir is not clean so it works as a third-party package in CI
44
45
  // (e.g. after npm install or build steps that touch lockfile or generated files).
@@ -280,11 +281,11 @@ function getNotifyMessage({ success, error, publishedToInternal }) {
280
281
  }
281
282
 
282
283
  if (success) {
283
- return `packages published successfully (${registryLabel} registry):\n${linkedPkg}`;
284
+ return `Packages published successfully (${registryLabel} registry):\n${linkedPkg}`;
284
285
  }
285
286
 
286
287
  // publish failed
287
- return `packages publish failed (${registryLabel} registry):\n${linkedPkg}\n${
288
+ return `Packages publish failed (${registryLabel} registry):\n${linkedPkg}\n${
288
289
  error || "Unknown error"
289
290
  }`;
290
291
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderly.network/npm-release",
3
- "version": "0.0.6-alpha.1",
3
+ "version": "0.0.7",
4
4
  "main": "index.mjs",
5
5
  "module": "index.mjs",
6
6
  "license": "MIT",
@@ -11,7 +11,7 @@
11
11
  "access": "public"
12
12
  },
13
13
  "scripts": {
14
- "release": "node index.mjs"
14
+ "npm-release": "node index.mjs"
15
15
  },
16
16
  "files": [
17
17
  "index.mjs",