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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
latest_tag-1.0.4.tar.gz
(3.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file latest_tag-1.0.4.tar.gz.
File metadata
- Download URL: latest_tag-1.0.4.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.1.3 CPython/3.13.5 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
856e719ff844a266c6cb0aae6c6c10d502db08bf90656c6c2209082dcdfa7e80
|
|
| MD5 |
070edeb47891151c1532fa86c5378720
|
|
| BLAKE2b-256 |
243ecb3ceb60fda8363e40474b041c5655358bea8c4ad8cd0b283ec9a5bb5a60
|
File details
Details for the file latest_tag-1.0.4-py3-none-any.whl.
File metadata
- Download URL: latest_tag-1.0.4-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.1.3 CPython/3.13.5 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a0ab0fe041f0fbe3a8290d07e4d48ff342ba4453ddfb4dd7950de830104b677
|
|
| MD5 |
927cf73933631ffb2a3cf1ee894b9ea5
|
|
| BLAKE2b-256 |
86bcf950b6c38cc73af2b44d8753b3a6dc629a79312f8c00058cde11f0a82a94
|