bpmn-js/tasks/stages/update-integration-test

28 lines
631 B
Plaintext
Raw Normal View History

2017-11-15 07:46:18 +00:00
#! /bin/bash
# bumps bpmn-js and diagram-js dependencies in bpmn-js-integration
PWD="$(pwd)"
WORKDIR="$(pwd)/tmp"
IT_DIR="$WORKDIR/bpmn-js-integration"
# create work dir
mkdir -p "$WORKDIR"
2020-02-04 08:30:43 +00:00
git clone --depth=1 "https://$GITHUB_AUTH@github.com/bpmn-io/bpmn-js-integration.git" "$IT_DIR"
cd "$IT_DIR"
npm install --save bpmn-js@latest bpmn-moddle@latest
git config user.email "$BPMN_IO_EMAIL"
git config user.name "$BPMN_IO_USERNAME"
git config push.default simple
git add -A
git commit -m "chore(project): bump bpmn-js to $TRAVIS_TAG"
git tag "$TRAVIS_TAG"
2020-02-04 08:30:43 +00:00
git push -q &2>/dev/null
git push --tags -q &2>/dev/null
cd "$PWD"