diff options
author | Yun Peng <pcloudy@google.com> | 2018-01-29 05:26:31 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-01-29 05:28:33 -0800 |
commit | f7f37be17506d41c7436807791611c31e216c45c (patch) | |
tree | 274ffc175bc335d95721f8203f8db6cd84f67519 /scripts/packages/debian/BUILD | |
parent | 8130287c0a921816ada6aa95eb968c1d8e6c1b0f (diff) |
Simplify generate-changelog-file rule
The debian package changlog file doesn't have to contain the real CHANGELOG.md.
Parsing change log is error-prone and caused our release job to fail everytime,
so here we simplified the script for generating changelog.
Fix https://github.com/bazelbuild/bazel/issues/4530
Change-Id: I8adc5a98def5709ea57f9edbed9f0cf772a48d76
PiperOrigin-RevId: 183651058
Diffstat (limited to 'scripts/packages/debian/BUILD')
-rw-r--r-- | scripts/packages/debian/BUILD | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/packages/debian/BUILD b/scripts/packages/debian/BUILD index 3180079241..f82f37789b 100644 --- a/scripts/packages/debian/BUILD +++ b/scripts/packages/debian/BUILD @@ -98,12 +98,11 @@ filegroup( genrule( name = "generate-changelog-file", srcs = [ - "convert_changelog.py", - "//:changelog-file", + "generate_changelog.py", "//:bazel-srcs", # Force a rebuild on source change ], outs = ["changelog"], - cmd = "python $(location convert_changelog.py) bazel-out/volatile-status.txt $(location //:changelog-file) $(location changelog)", + cmd = "python $(location generate_changelog.py) bazel-out/volatile-status.txt $(location changelog)", stamp = 1, ) |