blob: ee4723a4dc1bfc2baaf0af86f9f9eadbfec69181 [file] [log] [blame]
# For Linux and Mac the download is a self-contained executable, not
# packaged in a tarball or zipfile. For Windows the download is a
# zipfile containing a self-contained executable. This explains the
# different configs for the different platforms.
create {
platform_re: "linux-(amd64|arm64)|mac-(amd64|arm64)"
source {
script { name: "fetch.py" }
unpack_archive: false
cpe_base_address: "cpe:/a:google:bazel"
patch_version: "7"
}
build {}
package {
version_file: ".versions/bazel.version"
}
verify {
test: [ "verify.sh" ]
}
}
create {
platform_re: "windows-(amd64|arm64)"
source {
script { name: "fetch.py" }
unpack_archive: true
cpe_base_address: "cpe:/a:google:bazel"
patch_version: "7"
}
package {
version_file: ".versions/bazel.version"
}
}
upload {}