#!/bin/bash #Checkout source as at last prod deploy tag=$(git tag | grep deploy-prod | tail -1) git checkout $tag