Sha256: 496b5485faae77333ea8462678d48958ffb5c774aa59578bf97065c47c545ecb
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
Contents
#!/bin/sh # # Publish new gem version and creates GH tag for it. # ### set -e set -o nounset set -o errexit mkdir -p $HOME/.gem touch $HOME/.gem/credentials chmod 0600 $HOME/.gem/credentials printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials gem build *.gemspec gem push *.gem #rake release #version=$(< VERSION) #docker build --rm --tag codeclimate/codeclimate . #docker push codeclimate/codeclimate:latest #docker tag codeclimate/codeclimate "codeclimate/codeclimate:$version" #docker push "codeclimate/codeclimate:$version" #PROJECT_RELATIVE_PATH=src/github.com/codeclimate/test-reporter # ## Install go #curl -O https://dl.google.com/go/go1.15.darwin-amd64.tar.gz #tar -xzf go1.15.darwin-amd64.tar.gz #echo 'export PATH=$PATH:$PWD/go/bin' >> "$BASH_ENV" # ## Set go path #mkdir -p ~/gopath/${PROJECT_RELATIVE_PATH} #echo 'export GOPATH=$HOME/gopath' >> "$BASH_ENV" #. "$BASH_ENV" #cd $GOPATH/${PROJECT_RELATIVE_PATH} #cp -r ~/project/ $GOPATH/${PROJECT_RELATIVE_PATH}
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
codeclimate-fede-0.85.31 | bin/publish |