Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
Upgraded ruby syntax in replease process (#2533)
Browse files Browse the repository at this point in the history
Co-authored-by: v-jizhang <[email protected]>
  • Loading branch information
Jinlin Zhang and buck-bot authored Sep 2, 2020
1 parent ff7c4cd commit cd9fbc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/release/platforms/homebrew.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ def update_formula_before_bottle(
all_data = fin.read()
all_data = re.sub(
r"BUCK_VERSION = .*$",
'BUCK_VERSION = "{}".freeze'.format(release_version),
'BUCK_VERSION = "{}"'.format(release_version),
all_data,
flags=re.MULTILINE,
)
all_data = re.sub(
r"BUCK_RELEASE_TIMESTAMP = .*$",
'BUCK_RELEASE_TIMESTAMP = "{}".freeze'.format(release_timestamp),
'BUCK_RELEASE_TIMESTAMP = "{}"'.format(release_timestamp),
all_data,
flags=re.MULTILINE,
)
Expand Down

0 comments on commit cd9fbc8

Please sign in to comment.