File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,15 @@ def get_wheelhouse_assets_dictionary():
27
27
assets_context_os = ["Linux" , "Windows" , "MacOS" ]
28
28
assets_context_runners = ["ubuntu-latest" , "windows-latest" , "macos-latest" ]
29
29
assets_context_python_versions = ["3.9" , "3.10" , "3.11" , "3.12" ]
30
- assets_context_version = json .loads (
31
- requests .get ("https://api.github.com/repos/ansys/pyansys-geometry/releases/latest" ).content
32
- )["name" ]
30
+ if get_version_match (__version__ ) == "dev" :
31
+ # Just point to the latest version
32
+ assets_context_version = json .loads (
33
+ requests .get (
34
+ "https://api.github.com/repos/ansys/pyansys-geometry/releases/latest"
35
+ ).content
36
+ )["name" ]
37
+ else :
38
+ assets_context_version = f"v{ __version__ } "
33
39
34
40
assets = {}
35
41
for assets_os , assets_runner in zip (assets_context_os , assets_context_runners ):
You can’t perform that action at this time.
0 commit comments