From 845b868469fd5fd252b0ab3040ea5fd04f213c8e Mon Sep 17 00:00:00 2001 From: Luciano Silva Date: Fri, 17 Feb 2017 21:16:47 -0500 Subject: [PATCH] Fix check output --- assets/common.sh | 2 +- pipeline.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/common.sh b/assets/common.sh index 63b1a75..cd1b594 100755 --- a/assets/common.sh +++ b/assets/common.sh @@ -32,5 +32,5 @@ check_version() { local dateString=$(date +"$dateVersionFormat" -D %d\ %b\ %Y\ %H:%M:%S\ GMT -d "$tmpDateString") fi - echo "$dateString" + echo "[{\"ref\":\"$dateString\"}]" | jq . } diff --git a/pipeline.yml b/pipeline.yml index 9de938c..8e97a2a 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -3,6 +3,7 @@ resource_types: type: docker-image source: repository: pivotalservices/concourse-curl-resource + tag: latest resources: - name: single-file