#!/bin/bash -ex CURRENT_BRANCH=$(git branch --list | grep '^\*' | cut -d ' ' -f 2) exec git push origin ${CURRENT_BRANCH} --tags