Skip to content

Commit 4bc352b

Browse files
Uncomment required code
1 parent e669527 commit 4bc352b

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.goreleaser.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@ builds:
1616
- arm64
1717
hooks:
1818
# This will notarize Apple binaries and replace goreleaser bins with the notarized ones
19-
# post:
20-
# - cmd: ./scripts/release/kubectl-mongodb/kubectl_mac_notarize.sh
21-
# output: true
22-
# - cmd: ./scripts/release/kubectl-mongodb/sign.sh {{ .Path }}
23-
# env:
24-
# - GRS_USERNAME={{ .Env.GRS_USERNAME }}
25-
# - GRS_PASSWORD={{ .Env.GRS_PASSWORD }}
26-
# - PKCS11_URI={{ .Env.PKCS11_URI }}
27-
# - ARTIFACTORY_URL={{ .Env.ARTIFACTORY_URL }}
28-
# - SIGNING_IMAGE_URI={{ .Env.SIGNING_IMAGE_URI }}
29-
# - ARTIFACTORY_USERNAME=mongodb-enterprise-kubernetes-operator
30-
# - ARTIFACTORY_PASSWORD={{ .Env.ARTIFACTORY_PASSWORD }}
31-
# - cmd: ./scripts/release/kubectl-mongodb/verify.sh {{ .Path }} && echo "VERIFIED OK"
19+
post:
20+
- cmd: ./scripts/release/kubectl-mongodb/kubectl_mac_notarize.sh
21+
output: true
22+
- cmd: ./scripts/release/kubectl-mongodb/sign.sh {{ .Path }}
23+
env:
24+
- GRS_USERNAME={{ .Env.GRS_USERNAME }}
25+
- GRS_PASSWORD={{ .Env.GRS_PASSWORD }}
26+
- PKCS11_URI={{ .Env.PKCS11_URI }}
27+
- ARTIFACTORY_URL={{ .Env.ARTIFACTORY_URL }}
28+
- SIGNING_IMAGE_URI={{ .Env.SIGNING_IMAGE_URI }}
29+
- ARTIFACTORY_USERNAME=mongodb-enterprise-kubernetes-operator
30+
- ARTIFACTORY_PASSWORD={{ .Env.ARTIFACTORY_PASSWORD }}
31+
- cmd: ./scripts/release/kubectl-mongodb/verify.sh {{ .Path }} && echo "VERIFIED OK"
3232

3333
archives:
3434
- format: tar.gz

0 commit comments

Comments
 (0)