From 71f52a2c539d327c6682e64926736044a4812e13 Mon Sep 17 00:00:00 2001 From: reaper Date: Sat, 22 Aug 2026 05:32:52 -0500 Subject: [PATCH] ci: publish Linux native prereleases --- .github/workflows/linux-release.yml | 77 +++++++++++++++++++++++++++++ package-lock.json | 4 +- package.json | 2 +- 3 files changed, 80 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/linux-release.yml diff --git a/.github/workflows/linux-release.yml b/.github/workflows/linux-release.yml new file mode 100644 index 0000000..6ffa63f --- /dev/null +++ b/.github/workflows/linux-release.yml @@ -0,0 +1,77 @@ +name: Linux native release + +on: + workflow_dispatch: + push: + tags: + - 'v*' + +permissions: + contents: write + +jobs: + build-linux: + runs-on: ubuntu-24.04 + timeout-minutes: 60 + + steps: + - name: Check out source + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: npm + + - name: Install dependencies + run: npm ci + + - name: Build portable native runtime + run: npm run build:native-linux-x64 + + - name: Build AppImage with modules and native runtime + run: npm run build:appimage + + - name: Verify embedded release payload + run: | + test -f dist/native-runtime/aurora-native-0.1.0-linux-x64.tar.gz + test -f dist/linux-unpacked/resources/native-runtime/aurora-native-0.1.0-linux-x64.tar.gz + cmp dist/native-runtime/aurora-native-0.1.0-linux-x64.tar.gz dist/linux-unpacked/resources/native-runtime/aurora-native-0.1.0-linux-x64.tar.gz + test -f dist/linux-unpacked/resources/module-catalog/wordpress-1.2.0.pac + test -f dist/linux-unpacked/resources/module-catalog/drupal-1.0.0.pac + + - name: Create checksums + run: | + sha256sum \ + dist/*.AppImage \ + dist/native-runtime/*.tar.gz \ + dist/module-catalog/*.pac > dist/SHA256SUMS-linux.txt + cat dist/SHA256SUMS-linux.txt + + - name: Upload workflow artifact + uses: actions/upload-artifact@v4 + with: + name: aurora-dockside-linux-x64 + if-no-files-found: error + retention-days: 30 + path: | + dist/*.AppImage + dist/native-runtime/*.tar.gz + dist/module-catalog/*.pac + dist/SHA256SUMS-linux.txt + + - name: Publish GitHub prerelease + if: startsWith(github.ref, 'refs/tags/') + env: + GH_TOKEN: ${{ github.token }} + run: | + gh release create "$GITHUB_REF_NAME" \ + --repo "$GITHUB_REPOSITORY" \ + --prerelease \ + --title "Aurora Dockside ${GITHUB_REF_NAME}" \ + --notes "Linux testing release with the bundled Aurora Native runtime, WordPress and Drupal PAC modules, native logs, database portability, and automatic Adminer access." \ + dist/*.AppImage \ + dist/native-runtime/*.tar.gz \ + dist/module-catalog/*.pac \ + dist/SHA256SUMS-linux.txt diff --git a/package-lock.json b/package-lock.json index deb449d..41f153c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "aurora-dockside", - "version": "2.0.0-alpha.24", + "version": "2.0.0-alpha.25", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "aurora-dockside", - "version": "2.0.0-alpha.24", + "version": "2.0.0-alpha.25", "hasInstallScript": true, "dependencies": { "@electron-toolkit/preload": "^3.0.2", diff --git a/package.json b/package.json index 0ec8769..074a135 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aurora-dockside", - "version": "2.0.0-alpha.24", + "version": "2.0.0-alpha.25", "description": "A modern, modular Docker development platform for building, running, and managing web applications locally.", "desktopName": "aurora-dockside.desktop", "main": "./out/main/index.js",