Update .forgejo/workflows/packages.yaml

Signed-off-by: xengi <forgejo@xengi.de>
This commit is contained in:
XenGi 2026-08-12 22:48:41 +02:00
commit beef38c866

View file

@ -23,14 +23,7 @@ jobs:
- name: Get versions
id: versions
run: |
ceph_major=$(
curl -fsSL https://docs.ceph.com/en/latest/releases/ |
grep -oE 'latest [0-9]+\.[0-9]+\.[0-9]+' |
head -n1 |
cut -d' ' -f2 |
cut -d. -f1
)
echo upstream=$(curl -sL -H 'Accept: application/vnd.github.v3+json' https://api.github.com/repos/ceph/ceph/tags | jq -r '[.[].name | select(. | startswith("v${ceph_major}"))][0]' | cut -c 2-) >> "$FORGEJO_OUTPUT"
echo upstream=$(curl -sL https://docs.ceph.com/en/latest/releases/ | grep -oE 'latest [0-9]+\.[0-9]+\.[0-9]+' | head -n1 | cut -d' ' -f2) >> "$FORGEJO_OUTPUT"
echo aur=$(curl -sL 'https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=${{ env.PACKAGE_NAME }}' | jq -r '.results[0].Version | split("-")[0]') >> "$FORGEJO_OUTPUT"
- name: Setup SSH
run: |