-
.github/workflows/build.yml<pre>@@ -58,14 +58,23 @@ jobs:- name: Smoke test (archive contains the core package)if: steps.src.outputs.changed == 'true' || inputs.force == true- run: tar -tzf out/WCFSetup.tar.gz | grep -q '^install/packages/com.woltlab.wcf.tar$'+ run: |+ tar -tzf out/WCFSetup.tar.gz | grep -q '^install/packages/com.woltlab.wcf.tar$'+ unzip -Z1 out/WoltLabSuite-6.3-testbuild.zip | sort | tr '\n' ' ' | grep -qx 'WCFSetup.tar.gz install.php test.php '- name: Publish pre-releaseif: steps.src.outputs.changed == 'true' || inputs.force == truerun: |- gh release create "${{ steps.src.outputs.tag }}" out/WCFSetup.tar.gz out/install.php out/test.php out/SHA256SUMS \- --prerelease --title "WoltLab Suite 6.3 alpha ${{ steps.src.outputs.sha }}" \- --notes "Unofficial community test build of WoltLab/WCF branch 6.3 at commit ${{ steps.src.outputs.sha }}. Not for production. Requires PHP 8.4.23 to 8.5.x and HTTPS."+ tag="${{ steps.src.outputs.tag }}"+ files="out/WoltLabSuite-6.3-testbuild.zip out/WCFSetup.tar.gz out/install.php out/test.php out/SHA256SUMS"+ if gh release view "$tag" >/dev/null 2>&1; then+ # a forced rerun of the same commit on the same day replaces the files+ gh release upload "$tag" $files --clobber+ else+ gh release create "$tag" $files \+ --prerelease --title "WoltLab Suite 6.3 alpha ${{ steps.src.outputs.sha }}" \+ --notes "Unofficial community test build of WoltLab/WCF branch 6.3 at commit ${{ steps.src.outputs.sha }}. Not for production. Requires PHP 8.4.23 to 8.5.x and HTTPS. WoltLabSuite-6.3-testbuild.zip contains install.php, test.php and WCFSetup.tar.gz."+ fibash scripts/prune-releases.shenv:GH_TOKEN: ${{ github.token }}
-
README.md<pre>@@ -6,8 +6,9 @@ This is a community project by [YoureCom](https://yourecom.de) and is not affili## Install-1. Pick the newest pre-release under *Releases*.-2. Upload `install.php` and `WCFSetup.tar.gz` to an empty web directory (same folder).+1. Pick the newest pre-release under *Releases* and download `WoltLabSuite-6.3-testbuild.zip`.+2. Unpack it and upload `install.php`, `test.php` and `WCFSetup.tar.gz` to an empty web directory (same folder).+ The files are also available one by one in the release.3. Open `https://<your-domain>/install.php` and follow the wizard.Requirements: PHP 8.4.23 to 8.5.x, MySQL/MariaDB, **HTTPS** (the wizard refuses plain HTTP).
-
scripts/build.sh<pre>@@ -34,5 +34,13 @@ tar -tf "$SRC/wcfsetup/install/packages/com.woltlab.wcf.tar" | grep -qx 'package# 3) WCFSetup.tar.gz (install/ + setup/) and install.phptar -czf "$OUT/WCFSetup.tar.gz" -C "$SRC/wcfsetup" install setupcp "$SRC/wcfsetup/install.php" "$SRC/wcfsetup/test.php" "$OUT/"-( cd "$OUT" && sha256sum WCFSetup.tar.gz install.php test.php > SHA256SUMS )++# one archive with everything the installation needs (needs `zip`, present on the CI runner)+BUNDLE="WoltLabSuite-6.3-testbuild.zip"+if command -v zip >/dev/null 2>&1; then+ (cd "$OUT" && rm -f "$BUNDLE" && zip -q -9 "$BUNDLE" install.php test.php WCFSetup.tar.gz)+else+ echo "zip not found, skipping $BUNDLE" >&2+fi+( cd "$OUT" && sha256sum WCFSetup.tar.gz install.php test.php $( [ -f "$BUNDLE" ] && echo "$BUNDLE" ) > SHA256SUMS )ls -la "$OUT"