GitHub Release Tag Fetcher
A lightweight Python utility to fetch the latest GitHub release tag from a repository, with optional filtering to exclude releases that contain specific file types (e.g., .apk, .aab).
Ideal for deployment pipelines or automation scripts where only clean releases are required.
✅ Features
- Fetch the latest release from any GitHub repository.
- Skip releases that include disallowed asset types.
- Write the valid release tag to a file.
- Configurable via environment variables.
- Clean logging with loguru.
🧱 Project Setup (Poetry)
1. Clone the Repository
git clone https://github.com/your-org/your-repo.git
cd your-repo
2. Activate the Virtual Environment
poetry shell
3. Install Dependencies
poetry install
4. Run
poetry run fetch-tag
Metadata
Release files for latest_tag 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| latest_tag-1.0.4.tar.gz | 3.1 kB | Without provenance | Details for latest_tag-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| latest_tag-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for latest_tag-1.0.4-py3-none-any.whl |
Total release size: 7.0 kB
Release files / latest_tag-1.0.4.tar.gz
| Download URL | latest_tag-1.0.4.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
856e719ff844a266c6cb0aae6c6c10d502db08bf90656c6c2209082dcdfa7e80
|
|
BLAKE2b-256 checksum How to use checksums |
243ecb3ceb60fda8363e40474b041c5655358bea8c4ad8cd0b283ec9a5bb5a60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.13.5 Windows/11
|
Release files / latest_tag-1.0.4-py3-none-any.whl
| Download URL | latest_tag-1.0.4-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a0ab0fe041f0fbe3a8290d07e4d48ff342ba4453ddfb4dd7950de830104b677
|
|
BLAKE2b-256 checksum How to use checksums |
86bcf950b6c38cc73af2b44d8753b3a6dc629a79312f8c00058cde11f0a82a94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.13.5 Windows/11
|
Security for latest_tag 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.