Skip to content

Commit 118579a

Browse files
committed
preview schema changes since last version
1 parent ec01107 commit 118579a

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-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: |

0 commit comments

Comments
 (0)