Sha256: a8cdcafbbdb7605f02beda92d7b273b32a7c65fdd3c75cea16552d06b832b1ca

Contents?: true

Size: 715 Bytes

Versions: 18

Compression:

Stored size: 715 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

./bin/validate-release

version=$(< VERSION)

git fetch origin master
git reset --hard origin/master

printf "RELEASE %s\n" "$version"
bundle check || bundle install
rake release

docker build --rm --tag 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")

cat <<EOM
Be sure to update release notes:

  https://github.com/codeclimate/codeclimate/releases/new?tag=v$version

EOM

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
codeclimate-0.75.0 bin/release
codeclimate-0.74.0 bin/release
codeclimate-0.73.0 bin/release
codeclimate-0.72.0 bin/release
codeclimate-0.71.2 bin/release
codeclimate-0.71.1 bin/release
codeclimate-0.71.0 bin/release
codeclimate-0.70.6 bin/release
codeclimate-0.70.5 bin/release
codeclimate-0.70.4 bin/release
codeclimate-0.70.3 bin/release
codeclimate-0.70.2 bin/release
codeclimate-0.70.1 bin/release
codeclimate-0.70.0 bin/release
codeclimate-0.69.0 bin/release
codeclimate-0.68.0 bin/release
codeclimate-0.67.0 bin/release
codeclimate-0.66.0 bin/release