Sha256: 61c398cc03ac7e81c65b69c93ad6478f81a21fa888c313af8144447958ea26af

Contents?: true

Size: 662 Bytes

Versions: 4

Compression:

Stored size: 662 Bytes

Contents

#!/bin/bash

set -e

[[ -n "$GIT_AUTHOR_NAME" ]] && git config user.name $GIT_AUTHOR_NAME
[[ -n "$GIT_AUTHOR_EMAIL" ]] && git config user.email $GIT_AUTHOR_EMAIL

printf "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config

release_commit=`git rev-parse HEAD`

echo "Release commit ${release_commit}..."

bundle install --path vendor/bundle

echo "Pushing to master..."
git push -f origin `git rev-parse HEAD`:master

echo "Push to master done."

echo "Updating development version..."
bundle exec gem bump --version minor

echo "Pushing to develop..."
git push origin `git rev-parse HEAD`:develop
echo "Push to develop done."

echo "Release done."

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
construi-0.41.0 construi/release/script.sh
construi-0.40.0 construi/release/script.sh
construi-0.39.0 construi/release/script.sh
construi-0.38.0 construi/release/script.sh