Skip to content

Instantly share code, notes, and snippets.

@mindflowgo
mindflowgo / release.sh
Last active June 5, 2020 08:53 — forked from benstonni/release.sh
Bash script to automate the Git Flow tag/release process
#!/bin/bash
# current Git branch
branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,')
# v1.0.0, v1.5.2, etc.
versionLabel=v$1
# establish branch and tag name variables
devBranch=develop