Skip to content

Commit af3ebcd

Browse files
authored
fix: use NPM_TOKEN env variable name (#126)
1 parent 91808ed commit af3ebcd

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ sast-scanner:
5959
release_dry_run:
6060
stage: release
6161
script:
62-
- echo "//registry.npmjs.org/:_authToken=$TOKEN" > ~/.npmrc
62+
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
6363
- npm publish --dry-run
6464
- rm -f ~/.npmrc
6565
dependencies:
@@ -71,7 +71,7 @@ release_dry_run:
7171
pre_release:
7272
stage: release
7373
script:
74-
- echo "//registry.npmjs.org/:_authToken=$TOKEN" > ~/.npmrc
74+
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
7575
- npm publish --tag prerelease
7676
- rm -f ~/.npmrc
7777
rules:
@@ -86,7 +86,7 @@ pre_release:
8686
release:
8787
stage: release
8888
script:
89-
- echo "//registry.npmjs.org/:_authToken=$TOKEN" > ~/.npmrc
89+
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
9090
- npm publish
9191
- rm -f ~/.npmrc
9292
rules:

package-lock.json

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@splunk/rum-cli",
3-
"version": "0.0.1-alpha",
3+
"version": "0.0.1-alpha.2",
44
"description": "Tools for handling symbol and mapping files for symbolication",
55
"main": "./dist/index.js",
66
"files": [

0 commit comments

Comments
 (0)