Skip to content

Commit e2b09ea

Browse files
committed
Release fixes
1 parent 90cd280 commit e2b09ea

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.evergreen.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ functions:
174174
type: test
175175
params:
176176
working_dir: src/github.com/mongodb/mongocli
177+
silent: true
177178
script: |
178179
set -o errexit
179180
@@ -184,10 +185,16 @@ functions:
184185
185186
export GOROOT="${go_root}"
186187
export PATH="./bin:${go_bin}:$PATH"
188+
export GITHUB_TOKEN=${github_token}
187189
188190
${goreleaser_cmd|goreleaser --rm-dist --snapshot}
189191
EOF_BUILD_SH
190-
192+
- command: shell.exec
193+
type: test
194+
params:
195+
working_dir: src/github.com/mongodb/mongocli
196+
script: |
197+
set -o errexit
191198
set -o xtrace
192199
set -o verbose
193200
# notarization and signing can only happen in a session with access to the GUI, so we use ssh to it
@@ -507,6 +514,7 @@ tasks:
507514
commands:
508515
- func: "clone"
509516
- func: "set up notary client credentials"
517+
- func: "install curator"
510518
- func: "push"
511519
vars:
512520
edition: org
@@ -628,6 +636,7 @@ tasks:
628636
commands:
629637
- func: "clone"
630638
- func: "set up notary client credentials"
639+
- func: "install curator"
631640
- func: "push"
632641
vars:
633642
edition: enterprise
@@ -715,6 +724,7 @@ tasks:
715724
commands:
716725
- func: "clone"
717726
- func: "set up notary client credentials"
727+
- func: "install curator"
718728
- func: "push"
719729
vars:
720730
edition: org
@@ -836,6 +846,7 @@ tasks:
836846
commands:
837847
- func: "clone"
838848
- func: "set up notary client credentials"
849+
- func: "install curator"
839850
- func: "push"
840851
vars:
841852
edition: enterprise

RELEASING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ To generate a new stable release you must follow the following steps:
1414

1515
1. Tag a new version, ie: `git tag -a -s v1.0.0 -m "v1.0.0"`
1616
2. Publish the new tag, ie `git push origin v1.0.0`
17-
3. Run the evergreen releasing task, ie: `evergreen patch -p mongocli-master -y -d "Release v1.0.0" -v release -t release`
17+
3. Run the evergreen releasing task, ie: `evergreen patch -p mongocli-master -y -d "Release v1.0.0" -v release_publish -t release`

0 commit comments

Comments
 (0)