great-river-19742
01/30/2024, 11:10 PMshell_source to an archive, in fact it's not possible since the archive target only takes packages and files. This is my workaround. Is there a better approach?
shell_source(
name="shell",
source="deploy.sh"
)
# define a second target for same file
file(
name="file",
source="deploy.sh",
)
# so we can add our script to the archive
archive(
format="tar",
name="scriptsarchive",
#files=[":shell"] # does not work
files=[":file"] # works
)broad-processor-92400
01/31/2024, 11:52 AM