Sha256: f3e066da4dd74b6d46b06c84c8d355c0f50eaf2813d7e30df88a233929ab4003

Contents?: true

Size: 592 Bytes

Versions: 3

Compression:

Stored size: 592 Bytes

Contents

#!/usr/bin/env bash

[ -n "$DEBUG" ] && set -x
set -e
set -o pipefail

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PROJECT_DIR="$( cd "$SCRIPT_DIR/../../.." && pwd )"

cd "$PROJECT_DIR"

set +e
openssl aes-256-cbc \
    -d \
    -in ./.circleci/gpg.private.enc -k "${ENCRYPTION_PASSPHRASE}" | gpg --import -
set -e

git crypt unlock

git config --global user.email "circleci@infrablocks.io"
git config --global user.name "Circle CI"

mkdir -p ~/.gem
cp config/secrets/rubygems/credentials ~/.gem/credentials
chmod 0600 ~/.gem/credentials

./go publish:prerelease

git push

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-terraform-0.13.2.pre40 scripts/ci/steps/prerelease.sh
ruby-terraform-0.14.0 scripts/ci/steps/prerelease.sh
ruby-terraform-0.13.2.pre39 scripts/ci/steps/prerelease.sh