Skip to content

feat(deps): update script to fetch latest versions without major bumps #138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JTJag
Copy link

@JTJag JTJag commented Mar 29, 2025

Improved the dependency update script to automatically use the latest available versions, while keeping the current major version to avoid breaking changes.

Improved the dependency update script to automatically use the latest available versions, while keeping the current major version to avoid breaking changes.
diprog added a commit to diprog/python-tls-client-async that referenced this pull request May 12, 2025
…ed 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#138
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant