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.52.0 bin/release
codeclimate-0.51.3 bin/release
codeclimate-0.51.2 bin/release
codeclimate-0.51.1 bin/release
codeclimate-0.51.0 bin/release
codeclimate-0.50.0 bin/release
codeclimate-0.49.0 bin/release
codeclimate-0.48.0 bin/release
codeclimate-0.47.0 bin/release
codeclimate-0.46.0 bin/release
codeclimate-0.45.0 bin/release
codeclimate-0.44.0 bin/release
codeclimate-0.43.1 bin/release
codeclimate-0.43.0 bin/release
codeclimate-0.42.1 bin/release
codeclimate-0.42.0 bin/release
codeclimate-0.41.0 bin/release
codeclimate-0.40.3 bin/release
codeclimate-0.40.2 bin/release
codeclimate-0.40.1 bin/release