Sha256: bce733762f54d79c7325cfee435719c571e8cab514eecb2d6b067c90f1b7327e

Contents?: true

Size: 716 Bytes

Versions: 4

Compression:

Stored size: 716 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")
(cd ../marketingsite/ && bin/set-cli-version "$version" && bin/deploy)

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
codeclimate-0.22.3 bin/release
codeclimate-0.22.2 bin/release
codeclimate-0.22.1 bin/release
codeclimate-0.22.0 bin/release