This commit is contained in:
Trevor Batley 2023-06-03 13:36:24 +10:00
parent 240928b74b
commit 3b2ab5189a

View File

@ -165,12 +165,12 @@ if [[ "$SOURCEORG" == "smecontribs" ]]; then
fi
# grab WIKILINK from source package
WIKILINK=$(curl -X 'GET' \
RESPONSE=$(curl "$SILENT" -X 'GET' \
"https://src.koozali.org/api/v1/repos/$SOURCEORG/$SOURCEPKG" \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H "Authorization: token $SOURCEACCESSTOKEN" \
| jq ' .external_wiki.external_wiki_url')
-H "Authorization: token $SOURCEACCESSTOKEN"
WIKILINK=$(echo $RESPONSE | jq ' .external_wiki.external_wiki_url')
if [ $DEBUG ] ; then echo "WIKILINK=$WIKILINK" ; fi
# Update the repo with the changed description, bugzilla url and wiki url