From 562b2bf4ccf62823727d3bb63fb95931c0c14bcc Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Tue, 1 Oct 2024 16:49:15 -0400 Subject: [PATCH] github only support --- commit.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commit.py b/commit.py index ea8de39..b885026 100755 --- a/commit.py +++ b/commit.py @@ -199,6 +199,8 @@ def make_release(env: EnvData, name): 'X-GitHub-Api-Version': '2022-11-28' } for url in urls: + if not "github" in url: + return response = requests.post(url, headers=headers, data=json.dumps(data)) if response.status_code == 201: print('Release created successfully!')