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