Skip to content

Commit

Permalink
Run generate_changelog.py script with python3 instead of python2.7.
Browse files Browse the repository at this point in the history
Related to bazelbuild#11202.

PiperOrigin-RevId: 369427107
  • Loading branch information
philwo authored and copybara-github committed Apr 20, 2021
1 parent f92e007 commit b07c665
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/packages/debian/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ genrule(
"//:bazel-srcs", # Force a rebuild on source change
],
outs = ["changelog"],
cmd = "python2.7 $(location generate_changelog.py) bazel-out/volatile-status.txt $(location changelog)",
cmd = "python3 $(location generate_changelog.py) bazel-out/volatile-status.txt $(location changelog)",
stamp = 1,
)

Expand Down
1 change: 1 addition & 0 deletions scripts/packages/debian/generate_changelog.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
# pylint: disable=g-bad-file-header
# Copyright 2015 The Bazel Authors. All rights reserved.
#
Expand Down

0 comments on commit b07c665

Please sign in to comment.