Sha256: d6ae5911eeb0b2f9cc4467c2f776d9f19eca2945e597f277aad99383e71752d8
Contents?: true
Size: 643 Bytes
Versions: 13
Compression:
Stored size: 643 Bytes
Contents
#!/bin/sh set -e DIR=$(cd `dirname $0` && pwd) ROOT_DIR="${DIR}/.." PACKAGE_VERSION=$(cat "${ROOT_DIR}/VERSION") echo "Building for release ${PACKAGE_VERSION}" echo "---" echo "Setting up gem credentials..." set +x mkdir -p ~/.gem cat << EOF > ~/.gem/credentials --- :rubygems_api_key: ${RUBYGEMS_API_KEY} EOF chmod 0600 ~/.gem/credentials set -x cd "${ROOT_DIR}" echo "Installing dependencies..." gem install bundler > /dev/null bundle install > /dev/null echo "Building..." rm -rf pkg rake build echo "Pushing release" gem push \ --config-file=~/.gem/credentials \ --key=rubygems \ ./pkg/dropbox-sign-${PACKAGE_VERSION}.gem
Version data entries
13 entries across 13 versions & 1 rubygems