publish --access public

pull/2/head
Timothée Rebours 4 years ago
parent e004d296c0
commit 6ddc5a4599
  1. 2
      .gitlab-ci.yml

@ -32,6 +32,6 @@ deploy:
stage: deploy stage: deploy
script: script:
- if (npx semver $CI_COMMIT_TAG --range '>0.0.0'); then NPM_TAG=latest; else NPM_TAG=beta; fi; # Using the fact that semver by default considers that pre-releases do not respect stable ranges - if (npx semver $CI_COMMIT_TAG --range '>0.0.0'); then NPM_TAG=latest; else NPM_TAG=beta; fi; # Using the fact that semver by default considers that pre-releases do not respect stable ranges
- npm publish --tag=$NPM_TAG - npm publish --tag=$NPM_TAG --access public
only: only:
- tags - tags

Loading…
Cancel
Save