diff --git a/templates/xcode.pkr.hcl b/templates/xcode.pkr.hcl index 94ca9bd..d3cb23d 100644 --- a/templates/xcode.pkr.hcl +++ b/templates/xcode.pkr.hcl @@ -55,7 +55,7 @@ source "tart-cli" "tart" { locals { xcode_install_provisioners = [ - for version in var.xcode_version : { + for version in sort(var.xcode_version, true) : { type = "shell" inline = [ "source ~/.zprofile",