Revert changes, disable tag push, and test if works

This commit is contained in:
Max Weiss 2021-04-29 15:42:11 -07:00
parent 9e48a70ce9
commit fdc4e5333a
Signed by untrusted user: maxweiss
GPG Key ID: C2D8443BA1D372DB

View File

@ -81,8 +81,8 @@ function make_ipxe_lkrn() {
curr="$(pwd)"
cd "${ipxe_src_dir}/src/" || return 1
#make bin/ipxe.lkrn EMBED="${embed_file}" CERT="${signing_cert},${ca_cert}" TRUST="${ca_cert}" || return 2
echo lkrn > bin/ipxe.lkrn
make bin/ipxe.lkrn EMBED="${embed_file}" CERT="${signing_cert},${ca_cert}" TRUST="${ca_cert}" || return 2
cd "$curr"
return 0
}
@ -117,8 +117,8 @@ function make_ipxe_iso() {
curr="$(pwd)"
cd "${ipxe_src_dir}/src/" || return 1
#make bin/ipxe.iso EMBED="${embed_file}" CERT="${signing_cert},${ca_cert}" TRUST="${ca_cert}" || return 2
echo iso > bin/ipxe.iso
make bin/ipxe.iso EMBED="${embed_file}" CERT="${signing_cert},${ca_cert}" TRUST="${ca_cert}" || return 2
cd "$curr"
return 0
}
@ -181,7 +181,7 @@ function tag_head_and_push() {
fi
git tag -a "g_$(git rev-parse HEAD)" HEAD -m "BuildBot: tag commit for release $(git rev-parse HEAD)" || return 2
git push --tags origin master
#git push --tags origin master
if [ $? -ne 0 ]; then
>&2 echo 'Error during attempted git push of new tag'
return 3