Commit 7110293
committed
Update shared library script to fetch latest version dynamically (based on FlorianREGAZ#138)
Refactored `update_shared_library.py` to dynamically fetch the latest release matching major version 1.x from bogdanfinn/tls-client.
Key improvements:
- Removed hardcoded version in favor of dynamic resolution
- Fetches latest release with major version "1.x" using GitHub API
- Uses regex to strip version numbers from asset filenames
- Added a mapping for consistent local renaming of binaries
- Improved maintainability and reliability across OS platforms
This implementation is inspired by and adapted from FlorianREGAZ#138, which improves dependency management by avoiding manual version updates.
Original PR: FlorianREGAZ#1381 parent 74d87b5 commit 7110293Copy full SHA for 7110293
File tree
Expand file treeCollapse file tree
1 file changed
+58
-34
lines changedOpen diff view settings
Filter options
- scripts
Expand file treeCollapse file tree
1 file changed
+58
-34
lines changedOpen diff view settings
Collapse file
scripts/update_shared_library.py
Copy file name to clipboard+58-34Lines changed: 58 additions & 34 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
| 2 | + |
| 3 | + |
2 | 4 | |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
19 | 14 | |
20 | | - |
21 | | - |
| 15 | + |
| 16 | + |
22 | 17 | |
23 | | - |
24 | | - |
| 18 | + |
| 19 | + |
25 | 20 | |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
40 | 64 | |
0 commit comments