Sha256: f5811dad6b317c642f550c69de373884f9f35d8affe2341b7202538658b8a9e9

Contents?: true

Size: 405 Bytes

Versions: 23

Compression:

Stored size: 405 Bytes

Contents

#!/bin/bash

set -euo pipefail

export VERSION=$1
echo "VERSION: ${VERSION}"

echo "=== Building Gem ===="
gem build pg_easy_replicate.gemspec

echo "=== Pushing gem ===="
gem push pg_easy_replicate-"$VERSION".gem

echo "=== Sleeping for 15s ===="
sleep 15

echo "=== Pushing tags to github ===="
git tag v"$VERSION"
git push origin --tags

echo "=== Cleaning up ===="
rm pg_easy_replicate-"$VERSION".gem

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
pg_easy_replicate-0.3.7 scripts/release.sh
pg_easy_replicate-0.3.6 scripts/release.sh
pg_easy_replicate-0.3.4 scripts/release.sh
pg_easy_replicate-0.3.3 scripts/release.sh
pg_easy_replicate-0.3.2 scripts/release.sh
pg_easy_replicate-0.3.1 scripts/release.sh
pg_easy_replicate-0.3.0 scripts/release.sh
pg_easy_replicate-0.2.7 scripts/release.sh
pg_easy_replicate-0.2.6 scripts/release.sh
pg_easy_replicate-0.2.5 scripts/release.sh
pg_easy_replicate-0.2.4 scripts/release.sh
pg_easy_replicate-0.2.3 scripts/release.sh
pg_easy_replicate-0.2.2 scripts/release.sh
pg_easy_replicate-0.2.1 scripts/release.sh
pg_easy_replicate-0.2.0 scripts/release.sh
pg_easy_replicate-0.1.12 scripts/release.sh
pg_easy_replicate-0.1.11 scripts/release.sh
pg_easy_replicate-0.1.10 scripts/release.sh
pg_easy_replicate-0.1.9 scripts/release.sh
pg_easy_replicate-0.1.8 scripts/release.sh