File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ if [ -z "${pkglatest}" ]; then
8888 exit $noinput
8989fi
9090
91- echo " header=\" Authorization: Bearer ${GITHUB_TOKEN} \" " > ~ /.curlrc
91+ echo " header=\" Authorization: token ${GITHUB_TOKEN} \" " > ~ /.curlrc
9292git config --global url." https://x-access-token:${GITHUB_TOKEN} @github.com/" .insteadOf " https://github.com/"
9393
9494export NAME
@@ -162,6 +162,9 @@ curl -sL "https://api.github.com/repos/${repopath}/tarball/${gitsha}" \
162162mkdir -p " ${packagepath} "
163163tar xf " ${tarballpath} " -C " ${packagepath} " --strip-components 1
164164
165+ echo " DEBUG: .gitmodules present?" ; ls -la " ${packagepath} /.gitmodules" || true
166+ echo " DEBUG: first 50 lines of .gitmodules:" ; sed -n ' 1,50p' " ${packagepath} /.gitmodules" || true
167+
165168# git metadata needs to be setup to initialize submodules
166169# in repos which rely on git submodules
167170if [[ -f " ${packagepath} /.gitmodules" ]]; then
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ if [ -z "${pkglatest}" ]; then
5050 exit $noinput
5151fi
5252
53- echo " header=\" Authorization: Bearer ${GITHUB_TOKEN} \" " > ~ /.curlrc
53+ echo " header=\" Authorization: token ${GITHUB_TOKEN} \" " > ~ /.curlrc
5454git config --global url." https://x-access-token:${GITHUB_TOKEN} @github.com/" .insteadOf " https://github.com/"
5555
5656cp -R /buildfiles/META.json " ${builddir} "
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ if [ -z "${pkglatest}" ]; then
8181 exit $noinput
8282fi
8383
84- echo " header=\" Authorization: Bearer ${GITHUB_TOKEN} \" " > ~ /.curlrc
84+ echo " header=\" Authorization: token ${GITHUB_TOKEN} \" " > ~ /.curlrc
8585git config --global url." https://x-access-token:${GITHUB_TOKEN} @github.com/" .insteadOf " https://github.com/"
8686
8787name=$( determine_name)
You can’t perform that action at this time.
0 commit comments