This repository has been archived by the owner on Nov 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Fixing some more small issues w/ the release script that came in during refactoring. Reviewed By: ttsugriy fbshipit-source-id: e852237
- Loading branch information
1 parent
5bf0a0d
commit ed7b341
Showing
2 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -241,7 +241,6 @@ def push_tap(git_repository, tap_path, version): | |
git_url = "[email protected]:{}.git".format(git_repository) | ||
|
||
with tempfile.TemporaryDirectory() as temp_dir: | ||
temp_dir = temp_dir.name | ||
logging.info("Cloning {} into {}".format(git_url, temp_dir)) | ||
run(["git", "clone", git_url, temp_dir]) | ||
|
||
|
@@ -282,7 +281,7 @@ def validate_tap(homebrew_dir, tap_repository, version): | |
) | ||
if moved: | ||
brew(homebrew_dir, ["uninstall", brew_target]) | ||
if output != "{}/buck: stable {}".format(tap_repository, version): | ||
if "{}/buck: stable {}".format(tap_repository, version) not in output: | ||
raise ReleaseException( | ||
"Expected version {} to be installed, but got this from `brew info {}`: {}".format( | ||
version, tap_repository, output | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters