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 @@ -193,5 +193,5 @@ jobs:
193
193
cp $WD/finish.xml finish.xml
194
194
curl -X POST -H "Accept:application/json" -H "Authorization: Bearer ${{ secrets.PORTAL_ACCESS_TOKEN }}" https://ossrh-staging-api.central.sonatype.com/manual/upload/repository/${repository_namespace}?publishing_type=user_managed -o status.json
195
195
cat status.json
196
- portal_id=`cat status.json | jq --raw-output --arg SELECTOR $SELECTOR ".[][] | select(.description == \"$SELECTOR\").portal_deployment_id"`
196
+ portal_id=`cat status.json | jq --raw-output -j - -arg SELECTOR $SELECTOR ".[][] | select(.description == \"$SELECTOR\").portal_deployment_id"`
197
197
echo https://central.sonatype.com/api/v1/publisher/deployment/${portal_id}/download/
You can’t perform that action at this time.
0 commit comments