Skip to content

Commit 1eb7ebe

Browse files
authored
CLOUDP-167098 Fixes a bug where we could not release mongocli (#1773)
1 parent 133f8fe commit 1eb7ebe

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

build/ci/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,7 @@ tasks:
613613
- func: "update choco"
614614
vars:
615615
TOOL_NAME: ${tool_name}
616+
SECRET_API_KEY: ${chocolatey_api_key}
616617
- func: "uninstall go-msi"
617618
- command: s3.put
618619
params:

build/package/chocoupdate.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515

1616
set -Eeou pipefail
1717

18+
if [[ "${TOOL_NAME:?}" != "atlascli" ]]; then
19+
echo "Skipping chocopudate.sh"
20+
exit 0
21+
fi
22+
1823
GOCACHE="$(cygpath --mixed "${workdir:?}\.gocache")"
1924
CGO_ENABLED=0
2025
export GOCACHE

0 commit comments

Comments
 (0)