Created
September 25, 2017 08:40
-
-
Save fada21/3190f6237750a6ae0cb5bbef7bd71173 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEFAULT_API_VERSION=`cat dockerImageSha` | |
if [ ! -z $1 ] ; then echo "setting API_VERSION to $1"; else echo "API_VERSION not set, using default: $DEFAULT_API_VERSION"; fi | |
API_VERSION=${1:-$DEFAULT_API_VERSION} | |
export API_VERSION | |
echo "API_VERSION set to $API_VERSION" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment