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:
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
Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments