File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -499,15 +499,9 @@ functions:
499
499
shell : bash
500
500
script : |
501
501
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
507
502
cat <<EOF > expansions.yaml
508
503
home: $HOME
509
504
tag: $(git tag --list 'atlascli/v*' --sort=-taggerdate | head -1)
510
- ref: $REF
511
505
version: $(git tag --list 'atlascli/v*' --sort=-taggerdate | head -1 | cut -d 'v' -f 2)
512
506
EOF
513
507
- command : expansions.update
Original file line number Diff line number Diff line change @@ -323,7 +323,7 @@ functions:
323
323
<< : *go_options
324
324
env :
325
325
<< : *go_env
326
- TAG : ${ref }
326
+ TAG : ${tag }
327
327
GH_TOKEN : ${gh_token}
328
328
WORKFLOW : ${workflow}
329
329
EVERGREEN_USER : ${evergreen_user}
@@ -529,10 +529,7 @@ buildvariants:
529
529
- name : package_goreleaser
530
530
- name : copybara
531
531
display_name : " Copybara"
532
- depends_on :
533
- - name : package_goreleaser
534
- variant : release_atlascli_github
535
- patch_optional : true
532
+ git_tag_only : true
536
533
tags :
537
534
- foliage_health
538
535
run_on :
You can’t perform that action at this time.
0 commit comments