mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-12-27 15:34:28 +01:00
Compare commits
2 Commits
3.5.1-test
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e95be333f6 | ||
|
|
ae106497f9 |
20
.github/workflows/update-os-list.yml
vendored
20
.github/workflows/update-os-list.yml
vendored
@@ -2,12 +2,15 @@ name: Update OS List for RPi Imager
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
release:
|
workflow_run:
|
||||||
types: [published]
|
workflows: ["release.yaml"]
|
||||||
|
types:
|
||||||
|
- completed
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update-os-list:
|
update-os-list:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
@@ -20,14 +23,10 @@ jobs:
|
|||||||
- name: Get release information
|
- name: Get release information
|
||||||
id: release
|
id: release
|
||||||
run: |
|
run: |
|
||||||
if [ "${{ github.event_name }}" = "release" ]; then
|
# Fetch latest release info
|
||||||
VERSION="${{ github.event.release.tag_name }}"
|
RESPONSE=$(curl -s "https://api.github.com/repos/${{ github.repository }}/releases/latest")
|
||||||
RELEASE_DATE=$(echo "${{ github.event.release.published_at }}" | cut -d'T' -f1)
|
VERSION=$(echo "$RESPONSE" | jq -r '.tag_name')
|
||||||
else
|
RELEASE_DATE=$(echo "$RESPONSE" | jq -r '.published_at' | cut -d'T' -f1)
|
||||||
RESPONSE=$(curl -s "https://api.github.com/repos/${{ github.repository }}/releases/latest")
|
|
||||||
VERSION=$(echo "$RESPONSE" | jq -r '.tag_name')
|
|
||||||
RELEASE_DATE=$(echo "$RESPONSE" | jq -r '.published_at' | cut -d'T' -f1)
|
|
||||||
fi
|
|
||||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
||||||
echo "release_date=$RELEASE_DATE" >> $GITHUB_OUTPUT
|
echo "release_date=$RELEASE_DATE" >> $GITHUB_OUTPUT
|
||||||
echo "Found release: $VERSION (published: $RELEASE_DATE)"
|
echo "Found release: $VERSION (published: $RELEASE_DATE)"
|
||||||
@@ -57,3 +56,4 @@ jobs:
|
|||||||
git commit -m "Update OS list for RPi Imager (${{ steps.release.outputs.version }})"
|
git commit -m "Update OS list for RPi Imager (${{ steps.release.outputs.version }})"
|
||||||
git push
|
git push
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
45
installers/os-sublist-raspap.json
Normal file
45
installers/os-sublist-raspap.json
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
"name": "RaspAP",
|
||||||
|
"description": "The easiest, full-featured wireless router for Debian-based devices.",
|
||||||
|
"icon": "https://raspap.com/assets/images/raspAP-logo.svg",
|
||||||
|
"random": false,
|
||||||
|
"subitems": [
|
||||||
|
{
|
||||||
|
"name": "RaspAP 32-bit (armhf)",
|
||||||
|
"description": "The easiest, full-featured wireless router for Debian-based devices.",
|
||||||
|
"icon": "https://raspap.com/assets/images/raspAP-logo.svg",
|
||||||
|
"url": "https://github.com/RaspAP/raspap-webgui/releases/download/3.5.1-test/raspap-trixie-armhf-lite-3.5.1-test.img.zip",
|
||||||
|
"extract_size": 3145728000,
|
||||||
|
"extract_sha256": "c992ce2d375b36c0477e24e6d68004683341dd4e217eb4a074c45bd9984131f9",
|
||||||
|
"image_download_size": 901948510,
|
||||||
|
"image_download_sha256": "801c73645edae571a6e130f935e506d761f02aaaa39a5001cb0c49a88aba0713",
|
||||||
|
"release_date": "2025-12-26",
|
||||||
|
"init_format": "systemd",
|
||||||
|
"devices": [
|
||||||
|
"pi5-32bit",
|
||||||
|
"pi4-32bit",
|
||||||
|
"pi3-32bit",
|
||||||
|
"pi2-32bit"
|
||||||
|
],
|
||||||
|
"capabilities": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RaspAP 64-bit (arm64)",
|
||||||
|
"description": "The easiest, full-featured wireless router for Debian-based devices.",
|
||||||
|
"icon": "https://raspap.com/assets/images/raspAP-logo.svg",
|
||||||
|
"url": "https://github.com/RaspAP/raspap-webgui/releases/download/3.5.1-test/raspap-trixie-arm64-lite-3.5.1-test.img.zip",
|
||||||
|
"extract_size": 3481272320,
|
||||||
|
"extract_sha256": "8bdc5aca58ba93294ddf252b92d606551f2ebc0bc6202856c4671bf15fb09d13",
|
||||||
|
"image_download_size": 932458500,
|
||||||
|
"image_download_sha256": "488627448ac4f6a67b9040547f00f28e0e23808a7a1ad56d9c85719c044fec88",
|
||||||
|
"release_date": "2025-12-26",
|
||||||
|
"init_format": "systemd",
|
||||||
|
"devices": [
|
||||||
|
"pi5-64bit",
|
||||||
|
"pi4-64bit",
|
||||||
|
"pi3-64bit"
|
||||||
|
],
|
||||||
|
"capabilities": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user