From 2b16eb1de833872f0fa133ff55c0b349ef1d119d Mon Sep 17 00:00:00 2001 From: Tiffany K Date: Thu, 12 Oct 2017 12:30:22 -0700 Subject: [PATCH] fix: Use git-latest to get DOCKER_TAG Use git-latest file to get latest version instead of `git describe --abbrev=0 --tags` https://github.com/screwdriver-cd/guide/blob/master/screwdriver.yaml#L47-L48 --- screwdriver.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/screwdriver.yaml b/screwdriver.yaml index 6bc96926..6c92df81 100644 --- a/screwdriver.yaml +++ b/screwdriver.yaml @@ -44,5 +44,6 @@ jobs: - K8S_TOKEN steps: - setup-ci: git clone https://github.com/screwdriver-cd/toolbox.git ci - - wait-docker: DOCKER_TAG=`git describe --abbrev=0 --tags` ./ci/docker-wait.sh - - deploy-k8s: K8S_TAG=`git describe --abbrev=0 --tags` ./ci/k8s-deploy.sh + - get-tag: ./ci/git-latest.sh + - wait-docker: DOCKER_TAG=`cat VERSION` ./ci/docker-wait.sh + - deploy-k8s: K8S_TAG=`cat VERSION` ./ci/k8s-deploy.sh