You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Set the shell to bash to allow for the use of bash syntax.
146
+
sign-goreleaser-exe-%: SHELL:=/bin/bash
147
+
sign-goreleaser-exe-%: bin/jsign-6.0.jar
148
+
@# Only sign windows binary if fully configured.
149
+
@# Test variables set by joining with | between and looking for || showing at least one variable is empty.
150
+
@# Move the binary to a temporary location and sign it there to avoid the target being up-to-date if signing fails.
151
+
@set -e;\
152
+
if [[ "${SKIP_SIGNING}"!="true" ]];then \
153
+
if [[ "|${AZURE_SIGNING_CLIENT_ID}|${AZURE_SIGNING_CLIENT_SECRET}|${AZURE_SIGNING_TENANT_ID}|${AZURE_SIGNING_KEY_VAULT_URI}|"==*"||"* ]];then \
154
+
echo"Can't sign windows binaries as required configuration not set: AZURE_SIGNING_CLIENT_ID, AZURE_SIGNING_CLIENT_SECRET, AZURE_SIGNING_TENANT_ID, AZURE_SIGNING_KEY_VAULT_URI";\
155
+
echo"To rebuild with signing delete the unsigned windows exe file and rebuild with the fixed configuration";\
0 commit comments