Skip to content

Commit f7ce7ad

Browse files
committed
fix: fix release part 2
1 parent 17ccdc6 commit f7ce7ad

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

build/ci/evergreen.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,17 @@ functions:
354354
env:
355355
<<: *go_options
356356
binary: build/package/rename-pkg.sh
357+
"send slack notification":
358+
- command: subprocess.exec
359+
type: test
360+
params:
361+
working_dir: src/github.com/mongodb/mongocli
362+
silent: true
363+
include_expansions_in_env:
364+
- evergreen_user
365+
- evergreen_api_key
366+
- release_slack_channel
367+
binary: build/package/send-slack-notification.sh
357368
"generate download archive json":
358369
- command: shell.exec
359370
type: test
@@ -1010,7 +1021,7 @@ tasks:
10101021
- command: subprocess.exec
10111022
type: test
10121023
params:
1013-
working_dir: src/github.com/mongodb/mongocli/dist
1024+
working_dir: src/github.com/mongodb/mongocli
10141025
binary: build/package/download-msi.sh
10151026
- func: "package"
10161027
vars:
@@ -1046,16 +1057,7 @@ tasks:
10461057
permissions: public-read
10471058
content_type: ${content_type|application/x-gzip}
10481059
display_name: downloads-center-
1049-
- command: subprocess.exec
1050-
type: test
1051-
params:
1052-
working_dir: src/github.com/mongodb/mongocli
1053-
silent: true
1054-
include_expansions_in_env:
1055-
- evergreen_user
1056-
- evergreen_api_key
1057-
- release_slack_channel
1058-
command: bash -c build/package/send-slack-notification.sh
1060+
- func: "send slack notification"
10591061
- name: release_msi
10601062
stepback: false
10611063
git_tag_only: true

build/package/download-msi.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@ set -Eeou pipefail
1717

1818
VERSION=$(git describe | cut -d "v" -f 2)
1919

20+
pushd dist
21+
2022
curl https://fastdl.mongodb.org/mongocli/mongocli_"${VERSION}"_windows_x86_64.msi --output mongocli_"${VERSION}"_windows_x86_64.msi

0 commit comments

Comments
 (0)