Sha256: b1db1ae1a4ed95c48fbee1e9bc3b5dfed1ed74d9075fcb6b20989a4cf66d33c1

Contents?: true

Size: 842 Bytes

Versions: 111

Compression:

Stored size: 842 Bytes

Contents

#!/usr/bin/env bash

set -e

if [[ -n $TRAVIS_TAG && $TRAVIS_JOB_NUMBER =~ ".3" ]]; then
  echo "About to publish $TRAVIS_TAG to ajv-dist..."

  git config user.email "$GIT_USER_EMAIL"
  git config user.name "$GIT_USER_NAME"

  git clone https://${GITHUB_TOKEN}@github.com/ajv-validator/ajv-dist.git ../ajv-dist

  rm -rf ../ajv-dist/dist
  mkdir ../ajv-dist/dist
  cp ./dist/ajv.* ../ajv-dist/dist
  cat bower.json | sed 's/"name": "ajv"/"name": "ajv-dist"/' > ../ajv-dist/bower.json
  cd ../ajv-dist

  if [[ `git status --porcelain` ]]; then
    echo "Changes detected. Updating master branch..."
    git add -A
    git commit -m "updated by travis build #$TRAVIS_BUILD_NUMBER"
    git push --quiet origin master > /dev/null 2>&1
  fi

  echo "Publishing tag..."

  git tag $TRAVIS_TAG
  git push --tags > /dev/null 2>&1

  echo "Done"
fi

Version data entries

111 entries across 68 versions & 8 rubygems

Version Path
disco_app-0.18.1 test/dummy/node_modules/babel-loader/node_modules/ajv/scripts/publish-built-version
disco_app-0.18.1 test/dummy/node_modules/@rails/webpacker/node_modules/ajv/scripts/publish-built-version
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/babel-loader/node_modules/ajv/scripts/publish-built-version
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/style-loader/node_modules/ajv/scripts/publish-built-version
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/sass-loader/node_modules/ajv/scripts/publish-built-version
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/file-loader/node_modules/ajv/scripts/publish-built-version
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/css-loader/node_modules/ajv/scripts/publish-built-version
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/compression-webpack-plugin/node_modules/ajv/scripts/publish-built-version
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/@rails/webpacker/node_modules/ajv/scripts/publish-built-version
disco_app-0.14.0 test/dummy/node_modules/css-loader/node_modules/ajv/scripts/publish-built-version
disco_app-0.14.0 test/dummy/node_modules/style-loader/node_modules/ajv/scripts/publish-built-version
disco_app-0.14.0 test/dummy/node_modules/sass-loader/node_modules/ajv/scripts/publish-built-version
disco_app-0.14.0 test/dummy/node_modules/file-loader/node_modules/ajv/scripts/publish-built-version
disco_app-0.14.0 test/dummy/node_modules/compression-webpack-plugin/node_modules/ajv/scripts/publish-built-version
disco_app-0.14.0 test/dummy/node_modules/babel-loader/node_modules/ajv/scripts/publish-built-version
disco_app-0.14.0 test/dummy/node_modules/@rails/webpacker/node_modules/ajv/scripts/publish-built-version
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/@rails/webpacker/node_modules/ajv/scripts/publish-built-version
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/babel-loader/node_modules/ajv/scripts/publish-built-version
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/compression-webpack-plugin/node_modules/ajv/scripts/publish-built-version
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/css-loader/node_modules/ajv/scripts/publish-built-version