@orderly.network/npm-release 0.0.4-alpha.0 → 0.0.4

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 (3) hide show
  1. package/README.md +1 -0
  2. package/index.mjs +0 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -37,6 +37,7 @@ pnpm add -D @orderly.network/npm-release
37
37
 
38
38
  | Variable | Description |
39
39
  | ---------------------- | ------------------------------------------------------------------------------------- |
40
+ | `CI_COMMIT_BRANCH` | Current branch in CI environment |
40
41
  | `NPM_REGISTRY` | npm registry URL (default: `https://registry.npmjs.org`) |
41
42
  | `NPM_TOKEN` | Auth token for publishing; written to `.npmrc` when set |
42
43
  | `GIT_TOKEN` | Git personal access token for push (e.g. GitLab) |
package/index.mjs CHANGED
@@ -223,7 +223,6 @@ async function getPreReleaseTag() {
223
223
  if (branch.startsWith("internal/")) {
224
224
  return branch.replace(/^internal\//, "");
225
225
  }
226
- return defaultTag;
227
226
  }
228
227
 
229
228
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderly.network/npm-release",
3
- "version": "0.0.4-alpha.0",
3
+ "version": "0.0.4",
4
4
  "main": "index.mjs",
5
5
  "module": "index.mjs",
6
6
  "license": "MIT",