Bazel: use pack name for zip file name

This commit is contained in:
Paolo Tranquilli 2024-05-28 14:10:31 +02:00
Родитель 6d798410ce
Коммит 76fbb522d2
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -203,7 +203,7 @@ def codeql_pack(
name,
srcs = None,
zips = None,
zip_filename = "extractor",
zip_filename = None,
visibility = None,
install_dest = "extractor-pack",
**kwargs):
@ -248,7 +248,7 @@ def codeql_pack(
base = internal(kind + "-zip-base"),
zips = zips,
zip_name = zip_filename,
zip_prefix = name,
zip_prefix = name, # this is prefixing the zip contents with the pack name
kind = kind,
visibility = visibility,
)