feat: asked claude sonnet 4.6 to rework as github workflow instead of on my machine

This commit is contained in:
2026-04-30 09:59:35 +02:00
parent 475ffc8445
commit 0a04b994ae
6 changed files with 587 additions and 60 deletions
+6 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# publish.sh
# Runs INSIDE the Docker container as builduser.
# Runs as builduser (inside Docker or a GitHub Actions container job).
#
# Steps:
# 1. Find the built webkit2gtk .pkg.tar.zst in state/artifacts/
@@ -8,10 +8,14 @@
# 3. Update webkit2gtk-bin/PKGBUILD with the new version, URL and sha256sum
# 4. Regenerate webkit2gtk-bin/.SRCINFO
# 5. Commit and push webkit2gtk-bin/ to the AUR
#
# Works in both environments:
# Docker / local: WORKSPACE=/workspace (default)
# GitHub Actions: WORKSPACE=$GITHUB_WORKSPACE (set by runner)
set -euo pipefail
WORKSPACE=/workspace
WORKSPACE="${GITHUB_WORKSPACE:-/workspace}"
ARTIFACTS_DIR="${WORKSPACE}/state/artifacts"
BIN_PKG_DIR="${WORKSPACE}/webkit2gtk-bin"
SRC_PKGBUILD="${WORKSPACE}/webkit2gtk/PKGBUILD"