You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ra...@apache.org on 2021/02/03 05:02:31 UTC

[incubator-annotator] branch master updated: Publish master to the dev tag from CI

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 3fbd430  Publish master to the dev tag from CI
3fbd430 is described below

commit 3fbd430d578fc09062315e472c9f89e28bb3eb4e
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Tue Feb 2 21:01:27 2021 -0800

    Publish master to the dev tag from CI
---
 .gitignore  |  1 +
 .travis.yml | 11 +++++++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index 44c4e74..95e477c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
 *.d.ts
 *.d.ts.map
+.npmrc
 .nyc_output
 coverage
 node_modules
diff --git a/.travis.yml b/.travis.yml
index 7bbf7ad..f7f8e0a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,13 +12,20 @@ before_install:
   - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.5.1
   - export PATH="$HOME/.yarn/bin:$PATH"
 
+before_deploy:
+  - git checkout master
+  - echo "//registry.npmjs.org/:_authToken/${NPM_TOKEN}" > .npmrc
+
 deploy:
   - provider: script
-    script: git checkout master && npx lerna publish --preid dev --dist-tag dev --canary --yes
-    skip_cleanup: true
+    script: yarn run lerna publish --canary --dist-tag dev --no-git-tag-version --preid dev --yes
     on:
       branch: master
 
 branches:
   only:
     - master
+
+env:
+  global:
+    secure: kjnHYXAsaqKFX9tYWRC4Zp/k9e8RQ79jVdjBNKlFExmPL5AvocYz/YeCbA/hZSnR02IjVHDAgWxVKCSDcIpDmhs0Bd7fOuyNmNm+ET0aFF6emtAMnw4RfmS0z0ZcQ8gDk3EhQ+c59VTe6s3TexBxXXUhEclKghF/iRFrcHtPBxmqTuo1rH9Nyp9Kk7QLFHMC2y1AWeTpjCdKA5ooxPb353oXRHS985sirnYkzUphTkMSFkK27hupbDpDSfiHYOZEZzGWUrgT7YYALqcck22Jqy7MdWhZgoAOFr0R26oz7wVssnvt2PNc8hFgK4oLBRwKloNjBKMBChRoJ257yGM2ak+z844xFx36u1x/MOS6NhC15UOdyZLKm6gyGFvNOUVuPmLpNhwh/0DkZ+N56FevOWoAT7+fg3Op67KnGKk3TZfEPKOixqF4w6TfhJCEQfEvZg/6618SfoxuI5SidBqweRNT9B+iTo3Q [...]