File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ jobs:
105
105
echo "generators version not found"
106
106
rm -f maven-metadata.json
107
107
curl -o maven-metadata.json -s --max-time 60 --retry 15 --connect-timeout 30 -H "accept: application/json" https://oss.sonatype.org/service/local/repositories/snapshots/content/io/swagger/codegen/v3/swagger-codegen-generators/
108
- LAST_SNAP='[.data | sort_by(.lastModified) | reverse | .[] | select( .text | contains("1."))]| .[0].text' maven-metadata.json`
108
+ LAST_SNAP=`jq '[.data | sort_by(.lastModified) | reverse | .[] | select( .text | contains("1."))]| .[0].text' maven-metadata.json`
109
109
export LAST_SNAP=${LAST_SNAP:1:${#LAST_SNAP}-2}
110
110
echo "LAST_SNAP $LAST_SNAP"
111
111
export GENERATORS_VERSION_PROPERTY=-Dswagger-codegen-generators-version=$LAST_SNAP
You can’t perform that action at this time.
0 commit comments