Commit 53fd24fc authored by William Naslund's avatar William Naslund

Fixed npm rc config file in CI jobs

parent 141aed82
......@@ -72,6 +72,7 @@ NPM Publish Alpha:
except:
- branches
script:
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
- node scripts/set-version.js "$CI_COMMIT_TAG"
- npm publish --tag alpha --access public
......@@ -83,6 +84,7 @@ NPM Publish Beta:
except:
- branches
script:
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
- node scripts/set-version.js "$CI_COMMIT_TAG"
- npm publish --tag beta --access public
......@@ -94,5 +96,6 @@ NPM Publish Release:
except:
- branches
script:
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
- node scripts/set-version.js "$CI_COMMIT_TAG"
- npm publish --access public
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment