Skip to content

Commit 4d6a5cc

Browse files
authored
CLOUDP-327778 Failed Task: mongodb-atlas-cli-master-copybara/copybara (#4008)
1 parent 58a44c7 commit 4d6a5cc

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

build/ci/evergreen.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -499,15 +499,9 @@ functions:
499499
shell: bash
500500
script: |
501501
set -Eeou pipefail
502-
if [[ -z "${triggered_by_git_tag}" ]]; then
503-
REF="${github_commit}"
504-
else
505-
REF="${triggered_by_git_tag}"
506-
fi
507502
cat <<EOF > expansions.yaml
508503
home: $HOME
509504
tag: $(git tag --list 'atlascli/v*' --sort=-taggerdate | head -1)
510-
ref: $REF
511505
version: $(git tag --list 'atlascli/v*' --sort=-taggerdate | head -1 | cut -d 'v' -f 2)
512506
EOF
513507
- command: expansions.update

build/ci/release.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ functions:
323323
<<: *go_options
324324
env:
325325
<<: *go_env
326-
TAG: ${ref}
326+
TAG: ${tag}
327327
GH_TOKEN: ${gh_token}
328328
WORKFLOW: ${workflow}
329329
EVERGREEN_USER: ${evergreen_user}
@@ -529,10 +529,7 @@ buildvariants:
529529
- name: package_goreleaser
530530
- name: copybara
531531
display_name: "Copybara"
532-
depends_on:
533-
- name: package_goreleaser
534-
variant: release_atlascli_github
535-
patch_optional: true
532+
git_tag_only: true
536533
tags:
537534
- foliage_health
538535
run_on:

0 commit comments

Comments
 (0)