Sha256: bfbb5ff926a66f1f7f2588c0b6acd070ec4ff3e4121fc519ddb7e10f305dee17

Contents?: true

Size: 594 Bytes

Versions: 12

Compression:

Stored size: 594 Bytes

Contents

#!/bin/sh
#
# Release a new version of this repository.
#
# Assumes bin/prep-release was run and the PR merged.
#
# Usage: bin/release VERSION
#
###
set -e

if [ -z "$1" ]; then
  echo "usage: bin/release VERSION" >&2
  exit 64
fi

version=$1

git checkout master
git pull

printf "RELEASE %s\n" "$version"
rake release

docker build --rm -t codeclimate/codeclimate .
docker push codeclimate/codeclimate

(cd ../homebrew-formulae/ && bin/release "$version")

echo "Be sure to update release notes:"
echo ""
echo "  https://github.com/codeclimate/codeclimate/releases/new?tag=v$version"
echo ""

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
codeclimate-0.14.4 bin/release
codeclimate-0.14.3 bin/release
codeclimate-0.14.2 bin/release
codeclimate-0.14.1 bin/release
codeclimate-0.14.0 bin/release
codeclimate-0.13.0 bin/release
codeclimate-0.11.0 bin/release
codeclimate-0.10.1 bin/release
codeclimate-0.10.0 bin/release
codeclimate-0.9.7 bin/release
codeclimate-0.9.6 bin/release
codeclimate-0.9.5 bin/release