Skip to content

Commit 2c0fe61

Browse files
authored
Don't show warning when releasing from macOS (#184)
1 parent 70dcb5e commit 2c0fe61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

run_release.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,10 +1236,10 @@ def _api_key(api_key: str) -> str:
12361236
auth_key = args.auth_key or os.getenv("AUTH_INFO")
12371237
assert isinstance(auth_key, str), "We need an AUTH_INFO env var or --auth-key"
12381238

1239-
if "linux" not in sys.platform:
1239+
if sys.platform not in ("darwin", "linux"):
12401240
print(
12411241
"""\
1242-
WARNING! This script has not been tested on a platform other than Linux.
1242+
WARNING! This script has not been tested on a platform other than Linux and macOS.
12431243
12441244
Although it should work correctly as long as you have all the dependencies,
12451245
some things may not work as expected. As a release manager, you should try to

0 commit comments

Comments
 (0)