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

Version Path
dropbox-sign-1.8.0 bin/release
dropbox-sign-1.7.0 bin/release
dropbox-sign-1.6.1 bin/release
dropbox-sign-1.6.0 bin/release
dropbox-sign-1.5.0 bin/release
dropbox-sign-1.4.1 bin/release
dropbox-sign-1.4.0 bin/release
dropbox-sign-1.3.0 bin/release
dropbox-sign-1.2.0 bin/release
dropbox-sign-1.1.2 bin/release
dropbox-sign-1.1.1 bin/release
dropbox-sign-1.1.0 bin/release
dropbox-sign-1.0.1 bin/release