File tree Expand file tree Collapse file tree 4 files changed +16
-1
lines changed Expand file tree Collapse file tree 4 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -282,6 +282,7 @@ tasks:
282
282
aws_key : ${aws_key}
283
283
aws_secret : ${aws_secret}
284
284
local_files_include_filter :
285
+ - src/github.com/mongodb/mongodb-atlas-cli/bin/*.exe
285
286
- src/github.com/mongodb/mongodb-atlas-cli/dist/*.msi
286
287
remote_file : ${project}/dist/${revision}_${created_at}/
287
288
bucket : mongodb-mongocli-build
@@ -310,7 +311,7 @@ tasks:
310
311
TOOL_NAME : ${tool_name}
311
312
BUCKET : mongodb-mongocli-build
312
313
unstable : ${unstable}
313
- binary : build/package/download-msi .sh
314
+ binary : build/package/download-win-binaries .sh
314
315
- func : " package"
315
316
vars :
316
317
unstable : ${unstable}
Original file line number Diff line number Diff line change
1
+ # yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
1
2
project_name : atlascli
2
3
3
4
monorepo :
@@ -28,9 +29,13 @@ builds:
28
29
- cmd : ./build/package/atlascli_mac_notarize.sh
29
30
output : true
30
31
- << : *build_defaults
32
+ builder : prebuilt
31
33
id : windows
32
34
goos : [windows]
33
35
goarch : [amd64]
36
+ goamd64 : [v1]
37
+ prebuilt :
38
+ path : ./bin/atlas.exe
34
39
hooks :
35
40
post :
36
41
- cmd : ./build/package/windows_notarize.sh
Original file line number Diff line number Diff line change @@ -28,9 +28,13 @@ builds:
28
28
- cmd : ./build/package/mongocli_mac_notarize.sh
29
29
output : true
30
30
- << : *build_defaults
31
+ builder : prebuilt
31
32
id : windows
32
33
goos : [windows]
33
34
goarch : [amd64]
35
+ goamd64 : [v1]
36
+ prebuilt :
37
+ path : ./bin/mongocli.exe
34
38
hooks :
35
39
post :
36
40
- cmd : ./build/package/windows_notarize.sh
Original file line number Diff line number Diff line change @@ -26,11 +26,16 @@ if [[ "${unstable-}" == "-unstable" ]]; then
26
26
fi
27
27
28
28
PACKAGE_NAME=" mongocli_${VERSION_NAME} _windows_x86_64.msi"
29
+ BINARY_NAME=" mongocli.exe"
29
30
if [[ " ${TOOL_NAME:? } " == atlascli ]]; then
30
31
PACKAGE_NAME=" mongodb-atlas-cli_${VERSION_NAME} _windows_x86_64.msi"
32
+ BINARY_NAME=" atlas.exe"
31
33
fi
32
34
33
35
pushd bin
34
36
35
37
echo " downloading https://${BUCKET} .s3.amazonaws.com/${project} /dist/${revision} _${created_at} /${PACKAGE_NAME} into $PWD "
36
38
curl " https://${BUCKET} .s3.amazonaws.com/${project} /dist/${revision} _${created_at} /${PACKAGE_NAME} " --output " ${PACKAGE_NAME} "
39
+
40
+ echo " downloading https://${BUCKET} .s3.amazonaws.com/${project} /dist/${revision} _${created_at} /${BINARY_NAME} into $PWD "
41
+ curl " https://${BUCKET} .s3.amazonaws.com/${project} /dist/${revision} _${created_at} /${BINARY_NAME} " --output " ${BINARY_NAME} "
You can’t perform that action at this time.
0 commit comments