Update .forgejo/workflows/packages.yaml
Signed-off-by: xengi <forgejo@xengi.de>
This commit is contained in:
parent
3b38336d6c
commit
beef38c866
1 changed files with 1 additions and 8 deletions
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue