chore(ci): don't update pre-built + seed anymore

Related to #760
This commit is contained in:
Nico Rehwaldt 2018-02-06 12:04:32 +01:00
parent 1dcbf68d48
commit 68bfa10351
3 changed files with 0 additions and 74 deletions

View File

@ -21,18 +21,10 @@ jobs:
- sleep 3
script:
- TEST_BROWSERS=Firefox,PhantomJS npm run all
- stage: publish pre-built
script: './tasks/stages/publish-prebuilt'
- stage: update integration test
script: './tasks/stages/update-integration-test'
- stage: update seed
script: './tasks/stages/update-seed'
stages:
- test
- name: publish pre-built
if: tag =~ ^v\d
- name: update integration test
if: tag =~ ^v\d
- name: update seed
if: tag =~ ^v\d

View File

@ -1,36 +0,0 @@
#! /bin/bash
# publishes the bower-bpmn-js prebuilt bundle
PWD="$(pwd)"
WORKDIR="$(pwd)/tmp"
BOWER_DIR="$WORKDIR/bower-bpmn-js"
# create work dir
mkdir -p "$WORKDIR"
git clone --depth=1 https://github.com/bpmn-io/bower-bpmn-js.git "$BOWER_DIR"
npm install
DISTRO_DIST="$BOWER_DIR/dist" npm run distro
cd "$BOWER_DIR"
git config user.email "$BPMN_IO_EMAIL"
git config user.name "$BPMN_IO_USERNAME"
git config push.default simple
# update bower.json
BOWER_VERSION="${TRAVIS_TAG:1}"
echo "Updating bower.json version to $BOWER_VERSION"
sed -i -E "s/(\"version\": )\"[^\"]+\"/\1\"$BOWER_VERSION\"/" bower.json
# add all resources
git add -A
git commit -m "chore(project): package $TRAVIS_TAG"
git tag "$TRAVIS_TAG"
git push -q "https://$GITHUB_AUTH@github.com/bpmn-io/bower-bpmn-js.git" &2>/dev/null
git push --tags -q "https://$GITHUB_AUTH@github.com/bpmn-io/bower-bpmn-js.git" &2>/dev/null
cd "$PWD"

View File

@ -1,30 +0,0 @@
#! /bin/bash
# updates the bpmn-js-seed project with the latest bundle
PWD="$(pwd)"
WORKDIR="$(pwd)/tmp"
SEED_DIR="$WORKDIR/bpmn-js-seed"
# create work dir
mkdir -p "$WORKDIR"
git clone --depth=1 https://github.com/bpmn-io/bpmn-js-seed.git "$SEED_DIR"
npm install -g bower
cd "$SEED_DIR"
bower install "bpmn-js@$TRAVIS_TAG" -f
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(seed): update to bpmn-js $TRAVIS_TAG"
git tag "$TRAVIS_TAG"
git push -q "https://$GITHUB_AUTH@github.com/bpmn-io/bpmn-js-seed.git" &2>/dev/null
git push --tags -q "https://$GITHUB_AUTH@github.com/bpmn-io/bpmn-js-seed.git" &2>/dev/null
cd "$PWD"