We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23df84e commit 59cad8bCopy full SHA for 59cad8b
.github/workflows/bump-version.py
@@ -2,13 +2,11 @@
2
import sys
3
4
sys.path.append("../../")
5
-from clang_tools import release_tag # noqa E402
+from clang_tools import binary_repo, binary_tag # noqa E402
6
7
8
def get_latest_tag() -> str:
9
- response = requests.get(
10
- "https://api.github.com/repos/cpp-linter/clang-tools-static-binaries/releases/latest"
11
- )
+ response = requests.get(f"{binary_repo}/releases/latest")
12
return response.json()["tag_name"]
13
14
@@ -25,7 +23,7 @@ def update_tag(current_tag, latest_tag) -> None:
25
23
26
24
if __name__ == "__main__":
27
latest_tag = get_latest_tag()
28
- current_tag = release_tag
+ current_tag = binary_tag
29
30
if latest_tag != current_tag:
31
update_tag(current_tag, latest_tag)
0 commit comments