build: fix bazel stamping (#22965)
As pointed out in https://github.com/bazelbuild/rules_nodejs/issues/156 our mechanism would never pick up changes to the version info. PR Close #22965
This commit is contained in:

committed by
Alex Rickabaugh

parent
e1ea7ed019
commit
0b348c8ffe
@ -57,8 +57,8 @@ def _rollup(ctx, rollup_config, entry_point, inputs, js_output, format = "es"):
|
||||
other_inputs = [ctx.executable._rollup, rollup_config]
|
||||
if ctx.file.license_banner:
|
||||
other_inputs.append(ctx.file.license_banner)
|
||||
if ctx.file.stamp_data:
|
||||
other_inputs.append(ctx.file.stamp_data)
|
||||
if ctx.version_file:
|
||||
other_inputs.append(ctx.version_file)
|
||||
ctx.actions.run(
|
||||
progress_message = "Angular Packaging: rolling up %s" % ctx.label.name,
|
||||
mnemonic = "AngularPackageRollup",
|
||||
|
Reference in New Issue
Block a user