This is an automated email from the ASF dual-hosted git repository.

randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git


The following commit(s) were added to refs/heads/master by this push:
     new 16a9fc0  Do not verify the npm token for lerna CI publish
16a9fc0 is described below

commit 16a9fc07bde1e143674d4bb43fe6cc08d1d9b58c
Author: Randall Leeds <[email protected]>
AuthorDate: Sat Apr 3 18:23:53 2021 -0700

    Do not verify the npm token for lerna CI publish
    
    Lerna tries to check the user info before publish, but automation tokens
    do not support that.
---
 .travis.yml  | 1 -
 package.json | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index a526ae3..bdcc041 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,7 +5,6 @@ node_js: node
 before_deploy:
   - git fetch --unshallow
   - git checkout master
-  - echo "${NPM_API_TOKEN:3:8}"
 
 deploy:
   provider: npm
diff --git a/package.json b/package.json
index a96168a..4663170 100644
--- a/package.json
+++ b/package.json
@@ -26,7 +26,7 @@
     "prepare": "yarn run build:lib:types && lerna run prepare",
     "prepublishOnly": "yarn run build",
     "publish": "lerna publish",
-    "publish:ci": "yarn run publish --canary --exact --force-publish '*' --yes 
minor",
+    "publish:ci": "yarn run publish --canary --exact --force-publish '*' 
--no-access-verify --yes minor",
     "start": "yarn run web:server",
     "test": "cross-env BABEL_ENV=test nyc mocha packages/**/*.test.ts",
     "validate": "cross-env BABEL_ENV=test mocha test/**/*.test.ts",

Reply via email to