File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -69,12 +69,12 @@ node('docker && android-build') {
6969
7070 repo manifest -r -o manifest.xml
7171
72- curl --fail -X PUT -H "Authorization: token $GITHUB_TOKEN" \
73- -d "{ \\ "message \\ ": \\ "Add $VERSION changes \\ ", \\ "committer \\ ":{ \\ "name \\ ": \\ "Jenkins \\ ", \\ "email \\ ": \\ "[email protected] \\ "}, \\ "content \\ ": \\ "$(echo "$CHANGES" | base64 -w 0) \\ "}" \ 72+ echo "{ \\ "message \\ ": \\ "Add $VERSION changes \\ ", \\ "committer \\ ":{ \\ "name \\ ": \\ "Jenkins \\ ", \\ "email \\ ": \\ "[email protected] \\ "}, \\ "content \\ ": \\ "$(echo "$CHANGES" | base64 -w 0) \\ "}" | \ 73+ curl --fail -X PUT -H "Authorization: token $GITHUB_TOKEN" -d @- \
7474 "https://api.github.com/repos/$GITHUB_USER/$GITHUB_REPO/contents/versions/$VERSION/CHANGES.md"
7575
76- curl --fail -X PUT -H "Authorization: token $GITHUB_TOKEN" \
77- -d "{ \\ "message \\ ": \\ "Add $VERSION manifest \\ ", \\ "committer \\ ":{ \\ "name \\ ": \\ "Jenkins \\ ", \\ "email \\ ": \\ "[email protected] \\ "}, \\ "content \\ ": \\ "$(base64 -w 0 manifest.xml) \\ "}" \ 76+ echo "{ \\ "message \\ ": \\ "Add $VERSION manifest \\ ", \\ "committer \\ ":{ \\ "name \\ ": \\ "Jenkins \\ ", \\ "email \\ ": \\ "[email protected] \\ "}, \\ "content \\ ": \\ "$(base64 -w 0 manifest.xml) \\ "}" | \ 77+ curl --fail -X PUT -H "Authorization: token $GITHUB_TOKEN" -d @- \
7878 "https://api.github.com/repos/$GITHUB_USER/$GITHUB_REPO/contents/versions/$VERSION/manifest.xml"
7979 '''
8080 }
You can’t perform that action at this time.
0 commit comments