mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-09 16:45:49 +00:00
28 lines
608 B
Bash
Executable File
28 lines
608 B
Bash
Executable File
#!/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"
|
|
|
|
git clone --depth=1 "https://$BPMN_IO_TOKEN@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 "deps: bump bpmn-js to $TAG"
|
|
git tag "$TAG"
|
|
git push -q &2>/dev/null
|
|
git push --tags -q &2>/dev/null
|
|
|
|
cd "$PWD" |