Sha256: f065b1d316249e8a1a35089c10e42fcb6bd76e4b23da14b02d8331da8ca51573

Contents?: true

Size: 336 Bytes

Versions: 101

Compression:

Stored size: 336 Bytes

Contents

#!/bin/sh

set -e

if ! [ "$(git symbolic-ref --short HEAD)" = "master" ]; then
  printf "must be on master branch to run\n" >&2
  exit 1
fi

if ! git diff-index --quiet HEAD --; then
  printf "commit or stash your workspace changes\n" >&2
  exit 1
fi

if ! make test; then
  printf "test suite failed. not releasing\n" >&2
  exit 1
fi

Version data entries

101 entries across 101 versions & 2 rubygems

Version Path
codeclimate-0.96.0 bin/validate-release
codeclimate-0.95.0 bin/validate-release
codeclimate-0.94.1 bin/validate-release
codeclimate-0.94.0 bin/validate-release
codeclimate-0.93.0 bin/validate-release
codeclimate-0.92.1 bin/validate-release
codeclimate-0.92.0 bin/validate-release
codeclimate-0.91.0 bin/validate-release
codeclimate-0.90.0 bin/validate-release
codeclimate-0.89.0 bin/validate-release
codeclimate-0.88.0 bin/validate-release
codeclimate-0.87.5 bin/validate-release
codeclimate-0.87.4 bin/validate-release
codeclimate-0.87.3 bin/validate-release
codeclimate-0.87.2 bin/validate-release
codeclimate-0.87.1 bin/validate-release
codeclimate-0.87.0 bin/validate-release
codeclimate-0.86.0 bin/validate-release
codeclimate-0.85.29 bin/validate-release
codeclimate-0.85.28 bin/validate-release