Skip to content

Commit

Permalink
fixed deploy filename
Browse files Browse the repository at this point in the history
  • Loading branch information
kosta-codefresh committed Apr 19, 2017
1 parent 5df61da commit 357b788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cf-deploy-kubernetes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ deployment_file=${1:-deployment.yml}
[ ! -f "${deployment_file}" ] && echo "Couldn't find $deployment_file file at $(pwd)" && exit 1;


DEPLOYMENT_FILE=$(date '+%y-%m-%d_%H:%M:%S')-${deployment_file}
DEPLOYMENT_FILE=${deployment_file}-$(date '+%y-%m-%d_%H-%M-%S').yml
$(dirname $0)/template.sh "$deployment_file" > "$DEPLOYMENT_FILE" || fatal "Failed to apply deployment template on $deployment_file"


Expand Down

0 comments on commit 357b788

Please sign in to comment.