Skip to content

Instantly share code, notes, and snippets.

View christopherspence's full-sized avatar

Christopher Spence christopherspence

View GitHub Profile
@christopherspence
christopherspence / release.sh
Created November 11, 2019 16:13 — forked from adamreisnz/release.sh
A script to automate merging of release branches
#!/usr/bin/env bash
# Assuming you have a master and dev branch, and that you make new
# release branches named as the version they correspond to, e.g. 1.0.3
# Usage: ./release.sh 1.0.3
# Get version argument and verify
version=$1
if [ -z "$version" ]; then
echo "Please specify a version"