diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index d08ea92..59bfdb4 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -42,7 +42,7 @@ jobs: if [ "${{ github.event_name }}" = "release" ]; then echo "version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT else - echo "version=0.0.0-pr${{ github.event.pull_request.number }}" >> $GITHUB_OUTPUT + echo "version=0.0.0.${{ github.event.pull_request.number }}" >> $GITHUB_OUTPUT fi - name: Upload dist diff --git a/README.md b/README.md index 6868cc7..7feb437 100644 --- a/README.md +++ b/README.md @@ -73,14 +73,23 @@ scp -r moci/* root@192.168.1.1:/www/moci/ ### Option 1: Package (Recommended) -Download the ipk for your architecture from [Releases](https://github.com/HudsonGraeme/MoCI/releases/latest): +Download the package for your architecture from [Releases](https://github.com/HudsonGraeme/MoCI/releases/latest). + +**OpenWrt 24.10 and earlier (opkg):** ```bash wget https://github.com/HudsonGraeme/MoCI/releases/latest/download/moci_VERSION_ARCH.ipk opkg install moci_VERSION_ARCH.ipk ``` -Available architectures: x86_64, ramips/mt7621, ath79, mediatek/filogic, bcm27xx, ipq40xx, mvebu, ipq806x +**OpenWrt 25.12+ (apk):** + +```bash +wget https://github.com/HudsonGraeme/MoCI/releases/latest/download/moci_VERSION_ARCH.apk +apk add --allow-untrusted moci_VERSION_ARCH.apk +``` + +Available architectures: x86_64, mipsel_24kc, mips_24kc, aarch64_cortex-a53, aarch64_cortex-a72, arm_cortex-a7_neon-vfpv4, arm_cortex-a9_vfpv3-d16, arm_cortex-a15_neon-vfpv4 Replace `VERSION_ARCH` with your specific file from the releases page. @@ -123,7 +132,7 @@ git clone https://github.com/HudsonGraeme/MoCI.git package/moci make package/moci/compile ``` -The package will be in `bin/packages/*/base/moci_*.ipk` +The package will be in `bin/packages/*/base/moci_*.ipk` (24.10) or `bin/packages/*/base/moci-*.apk` (25.12+) ---