2021-01-22 14:21:37 +01:00
|
|
|
#!/bin/bash
|
2017-10-27 12:00:04 +02:00
|
|
|
|
2021-09-16 10:21:56 +02:00
|
|
|
set -eo pipefail
|
|
|
|
shopt -s inherit_errexit nullglob
|
|
|
|
|
2017-10-27 12:00:04 +02:00
|
|
|
# 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"
|
|
|
|
|
2021-09-16 10:18:12 +02:00
|
|
|
git clone --depth=1 "https://$BPMN_IO_TOKEN@github.com/bpmn-io/bpmn-js-integration.git" "$IT_DIR"
|
2017-10-27 12:00:04 +02:00
|
|
|
|
|
|
|
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
|
2021-04-30 18:07:17 +02:00
|
|
|
git commit -m "deps: bump bpmn-js to $TAG"
|
|
|
|
git tag "$TAG"
|
2020-02-04 09:30:43 +01:00
|
|
|
git push -q &2>/dev/null
|
|
|
|
git push --tags -q &2>/dev/null
|
2017-10-27 12:00:04 +02:00
|
|
|
|
|
|
|
cd "$PWD"
|