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
immosquare-cleaner-0.1.62 node_modules/ajv/scripts/publish-built-version
immosquare-cleaner-0.1.61 node_modules/ajv/scripts/publish-built-version
immosquare-cleaner-0.1.60 node_modules/ajv/scripts/publish-built-version
immosquare-cleaner-0.1.59 node_modules/ajv/scripts/publish-built-version
immosquare-cleaner-0.1.58 node_modules/ajv/scripts/publish-built-version
immosquare-cleaner-0.1.57 node_modules/ajv/scripts/publish-built-version
immosquare-cleaner-0.1.56 node_modules/ajv/scripts/publish-built-version
immosquare-cleaner-0.1.55 node_modules/ajv/scripts/publish-built-version
immosquare-cleaner-0.1.54 node_modules/ajv/scripts/publish-built-version
immosquare-cleaner-0.1.53 node_modules/ajv/scripts/publish-built-version
immosquare-cleaner-0.1.52 node_modules/ajv/scripts/publish-built-version
immosquare-cleaner-0.1.51 node_modules/ajv/scripts/publish-built-version
immosquare-cleaner-0.1.50 node_modules/ajv/scripts/publish-built-version
immosquare-cleaner-0.1.49 node_modules/ajv/scripts/publish-built-version
immosquare-cleaner-0.1.48 node_modules/ajv/scripts/publish-built-version
immosquare-cleaner-0.1.47 node_modules/ajv/scripts/publish-built-version
immosquare-cleaner-0.1.46 node_modules/ajv/scripts/publish-built-version
immosquare-cleaner-0.1.45 node_modules/ajv/scripts/publish-built-version
immosquare-cleaner-0.1.44 node_modules/ajv/scripts/publish-built-version
immosquare-cleaner-0.1.43 node_modules/ajv/scripts/publish-built-version