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/03/28 23:32:03 UTC
[incubator-annotator] branch master updated (9119f8f -> 09ad1f7)
This is an automated email from the ASF dual-hosted git repository.
randall pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git.
from 9119f8f Update CI npm token
new 6ec1f9e Extract CI publish script into package.json
new f7d6794 Use newer condition syntax for CI deploy stage
new 09ad1f7 Move before_deploy block into the CI stage definition
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.travis.yml | 16 +++++-----------
package.json | 1 +
2 files changed, 6 insertions(+), 11 deletions(-)
[incubator-annotator] 01/03: Extract CI publish script into
package.json
Posted by ra...@apache.org.
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
commit 6ec1f9edd7a9d95cc53f7572dd2f61a961782e6e
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Sun Mar 28 16:20:35 2021 -0700
Extract CI publish script into package.json
---
.travis.yml | 2 +-
package.json | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index f639044..37f92cf 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,7 +20,7 @@ jobs:
edge: true
api_token:
secure: 536H8eHmJx60Ke+aOJkkFig6qA1Mim2lsEUzx5ue3dyMSkOI56WBVFG2iKOMxwzh4fSnyR1aZD1mUGyDjl8yt95OfDx+BFkV/HRES5F1xLldczXpUR5Wyy2oLozBNnIuvEr6JVSWyKhAszNQ4404JztN6NnliQb3Cr+J6K1/GAhptjd7nYMuzqlGLI02hX8IBSSx/ZojEUS0Mg3XNH1B8dQA6IgNQx45AO02UtdvHMoEAUsb4WjMjtRa8TDtEX1uOqqihy0yBJXn4lLrScT2wkDK8z+FUhKlS6QCmAmS1dk2mpPuzInZ89kXv8ABX0bSI2ccx8dypFfwT3Sl7JXJ4TX116J5n3R3rZ2ndXFZoI+v6YVDvfsI4neQbAeessLX794Rol1HFiKTc4xFD4h0yB16Z9s7L2RhHciNtRoUkBPCVFPe34PSQpW5AA/jX2lIDmPyvmau7x1GCOPQNXljjc50w9 [...]
- run_script: publish -- --canary --exact --force-publish "*" --yes minor
+ run_script: publish:ci
on:
branch: master
diff --git a/package.json b/package.json
index 688fae6..a96168a 100644
--- a/package.json
+++ b/package.json
@@ -26,6 +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",
"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",
[incubator-annotator] 03/03: Move before_deploy block into the CI
stage definition
Posted by ra...@apache.org.
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
commit 09ad1f7c8bf9b405dd2f943872e009ac99b9dc7d
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Sun Mar 28 16:31:10 2021 -0700
Move before_deploy block into the CI stage definition
---
.travis.yml | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 215317e..6407b15 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,16 +6,15 @@ node_js:
- "13"
- "14"
-before_deploy:
- - git fetch --unshallow
- - git checkout master
-
jobs:
include:
- stage: deploy
if: branch = master
node_js: node
script: skip
+ before_deploy:
+ - git fetch --unshallow
+ - git checkout master
deploy:
provider: npm
edge: true
[incubator-annotator] 02/03: Use newer condition syntax for CI
deploy stage
Posted by ra...@apache.org.
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
commit f7d67949a15659079daed2b75149c98fcd099e96
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Sun Mar 28 16:29:46 2021 -0700
Use newer condition syntax for CI deploy stage
---
.travis.yml | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 37f92cf..215317e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,6 +13,7 @@ before_deploy:
jobs:
include:
- stage: deploy
+ if: branch = master
node_js: node
script: skip
deploy:
@@ -21,9 +22,3 @@ jobs:
api_token:
secure: 536H8eHmJx60Ke+aOJkkFig6qA1Mim2lsEUzx5ue3dyMSkOI56WBVFG2iKOMxwzh4fSnyR1aZD1mUGyDjl8yt95OfDx+BFkV/HRES5F1xLldczXpUR5Wyy2oLozBNnIuvEr6JVSWyKhAszNQ4404JztN6NnliQb3Cr+J6K1/GAhptjd7nYMuzqlGLI02hX8IBSSx/ZojEUS0Mg3XNH1B8dQA6IgNQx45AO02UtdvHMoEAUsb4WjMjtRa8TDtEX1uOqqihy0yBJXn4lLrScT2wkDK8z+FUhKlS6QCmAmS1dk2mpPuzInZ89kXv8ABX0bSI2ccx8dypFfwT3Sl7JXJ4TX116J5n3R3rZ2ndXFZoI+v6YVDvfsI4neQbAeessLX794Rol1HFiKTc4xFD4h0yB16Z9s7L2RhHciNtRoUkBPCVFPe34PSQpW5AA/jX2lIDmPyvmau7x1GCOPQNXljjc50w9 [...]
run_script: publish:ci
- on:
- branch: master
-
-branches:
- only:
- - master