Skip to content

Commit c4d4e06

Browse files
authored
Merge pull request #5814 from plotly/preview-schema-changes-since-last-version
Preview plot-schema changes between previous and next release when building dist on master
2 parents ec01107 + 68c2161 commit c4d4e06

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.circleci/config.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,13 +185,22 @@ jobs:
185185
command: .circleci/env_build.sh
186186
- run:
187187
name: Preview CHANGELOG for next release (only on master)
188-
command: if [ $CIRCLE_BRANCH == "master" ]; then npm run use-draftlogs && git --no-pager diff --color-words CHANGELOG.md || true; fi
188+
command: |
189+
if [ $CIRCLE_BRANCH == "master" ]
190+
then npm run use-draftlogs && git --no-pager diff --color-words CHANGELOG.md || true
191+
fi
189192
- run:
190193
name: Build dist/
191194
command: npm run build
192195
- store_artifacts:
193196
path: dist
194197
destination: dist
198+
- run:
199+
name: Preview plot-schema diff between previous and next releases (only on master)
200+
command: |
201+
if [ $CIRCLE_BRANCH == "master" ]
202+
then git --no-pager diff tags/$(git describe --tags --abbrev=0) dist/plot-schema.json || true
203+
fi
195204
- run:
196205
name: Pack tarball
197206
command: |

draftlogs/5814_add.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Preview plot-schema changes between previous and next release when building dist on master [[#5814](https://github.com/plotly/plotly.js/pull/5814)]

0 commit comments

Comments
 (0)