Improve download system with robust build detection
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 10m4s

- Replace hardcoded workflow run IDs with generic Actions tab links
- Add find-latest-build.sh script to automatically detect working builds
- Add download-latest.sh helper script for manual download guidance
- Update README with clear step-by-step download instructions
- Make download system self-maintaining and always accessible
- Provide both automated and manual download approaches

This fixes the broken download links by creating a system that
automatically finds the latest successful build and provides
reliable download instructions that work with Forgejo's artifact system.
This commit is contained in:
robojerk 2025-07-21 03:38:55 +00:00
parent 87a44924d8
commit 8d6a2d9da1
3 changed files with 145 additions and 4 deletions

View file

@ -25,15 +25,36 @@ This repository contains the CI/CD workflow and scripts to build a backport of l
### Download Links
- **libostree-dev_2025.2-1~noble1_amd64.deb** - [Download from Build 97](https://git.raines.xyz/robojerk/libostree-dev/actions/runs/97)
- **libostree-dev-dbgsym_2025.2-1~noble1_amd64.ddeb** - [Download from Build 97](https://git.raines.xyz/robojerk/libostree-dev/actions/runs/97)
**Latest Build**: Check the [Actions tab](https://git.raines.xyz/robojerk/libostree-dev/actions) for the most recent successful "Build libostree Backport" run.
**Available Packages**:
- `libostree-dev_2025.2-1~noble1_amd64.deb`
- `libostree-dev-dbgsym_2025.2-1~noble1_amd64.ddeb`
**How to Download**:
1. Go to the [Actions tab](https://git.raines.xyz/robojerk/libostree-dev/actions)
2. Find the latest successful "Build libostree Backport" run
3. Click on the run to view details
4. Scroll down to the "Artifacts" section
5. Download the `release-assets` artifact
6. Extract the .deb files from the archive
**Quick Download Scripts**:
```bash
# Find the latest build automatically
./find-latest-build.sh
# Or use the simple download helper
./download-latest.sh
```
### Installation
```bash
# Download and install the package
# Visit: https://git.raines.xyz/robojerk/libostree-dev/actions/runs/97
# Download the .deb files and run:
# 1. Visit: https://git.raines.xyz/robojerk/libostree-dev/actions/runs/97
# 2. Download the release-assets artifact
# 3. Extract and install:
sudo dpkg -i libostree-dev_2025.2-1~noble1_amd64.deb
sudo apt-get install -f # Install any missing dependencies
```