From 118579ae7da70eaa78210e83165361cefe929963 Mon Sep 17 00:00:00 2001 From: archmoj Date: Fri, 9 Jul 2021 10:18:25 -0400 Subject: [PATCH 1/2] preview schema changes since last version --- .circleci/config.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 59cc640e116..6cdd5a37ea2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -185,13 +185,22 @@ jobs: command: .circleci/env_build.sh - run: name: Preview CHANGELOG for next release (only on master) - command: if [ $CIRCLE_BRANCH == "master" ]; then npm run use-draftlogs && git --no-pager diff --color-words CHANGELOG.md || true; fi + command: | + if [ $CIRCLE_BRANCH == "master" ] + then npm run use-draftlogs && git --no-pager diff --color-words CHANGELOG.md || true + fi - run: name: Build dist/ command: npm run build - store_artifacts: path: dist destination: dist + - run: + name: Preview plot-schema diff between previous and next releases (only on master) + command: | + if [ $CIRCLE_BRANCH == "master" ] + then git --no-pager diff tags/$(git describe --tags --abbrev=0) dist/plot-schema.json || true + fi - run: name: Pack tarball command: | From 68c2161898f08c7e40f78e654cf98ecc9eb97955 Mon Sep 17 00:00:00 2001 From: archmoj Date: Fri, 9 Jul 2021 11:35:58 -0400 Subject: [PATCH 2/2] draftlog for PR 5814 --- draftlogs/5814_add.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 draftlogs/5814_add.md diff --git a/draftlogs/5814_add.md b/draftlogs/5814_add.md new file mode 100644 index 00000000000..80862786e9f --- /dev/null +++ b/draftlogs/5814_add.md @@ -0,0 +1 @@ + - Preview plot-schema changes between previous and next release when building dist on master [[#5814](https://github.com/plotly/plotly.js/pull/5814)]