Sha256: bb864ae271f5cd916ed203e1189cd08d8cf90a446c056936cb9c35b429023e1a

Contents?: true

Size: 645 Bytes

Versions: 67

Compression:

Stored size: 645 Bytes

Contents

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

git checkout master
git pull

version=$(< VERSION)

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

docker build --rm -t codeclimate/codeclimate .
docker push codeclimate/codeclimate:latest
docker tag codeclimate/codeclimate "codeclimate/codeclimate:$version"
docker push "codeclimate/codeclimate:$version"

(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

67 entries across 67 versions & 1 rubygems

Version Path
codeclimate-0.63.6 bin/release
codeclimate-0.63.5 bin/release
codeclimate-0.63.4 bin/release
codeclimate-0.63.3 bin/release
codeclimate-0.63.2 bin/release
codeclimate-0.63.1 bin/release
codeclimate-0.63.0 bin/release
codeclimate-0.62.0 bin/release
codeclimate-0.61.1 bin/release
codeclimate-0.61.0 bin/release
codeclimate-0.60.1 bin/release
codeclimate-0.60.0 bin/release
codeclimate-0.59.1 bin/release
codeclimate-0.59.0 bin/release
codeclimate-0.58.0 bin/release
codeclimate-0.57.0 bin/release
codeclimate-0.56.0 bin/release
codeclimate-0.55.0 bin/release
codeclimate-0.54.0 bin/release
codeclimate-0.53.0 bin/release