Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Commit

Permalink
fix getting stemcell version
Browse files Browse the repository at this point in the history
Signed-off-by: JT Archie <jarchie@pivotal.io>
  • Loading branch information
fredwangwang authored and JT Archie committed Nov 5, 2018
1 parent 5e8e3db commit d291b89
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions operations/create-install-pcf-vsphere-offline-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,12 @@
cat ./pivnet-product/metadata.json |
jq \
--raw-output \
'.Dependencies[]
| select(.Release.Product.Name | contains("Stemcells"))
| .Release.Version
'
[
.Dependencies[]
| select(.Release.Product.Name | contains("Stemcells"))
| .Release.Version
] | sort | last // empty
'
)
Expand Down

0 comments on commit d291b89

Please sign in to comment.