|
| 1 | +name: Publish ArSonComp Stable v0.2.0 |
| 2 | + |
| 3 | +on: |
| 4 | + push: |
| 5 | + branches: [main] |
| 6 | + paths: ['.github/workflows/promote-v020-stable.yml'] |
| 7 | + workflow_dispatch: |
| 8 | + |
| 9 | +permissions: |
| 10 | + contents: read |
| 11 | + |
| 12 | +concurrency: |
| 13 | + group: arsoncomp-stable-v020 |
| 14 | + cancel-in-progress: false |
| 15 | + |
| 16 | +jobs: |
| 17 | + promote: |
| 18 | + name: Reuse and verify tested installers; publish stable |
| 19 | + runs-on: ubuntu-latest |
| 20 | + permissions: |
| 21 | + contents: write |
| 22 | + env: |
| 23 | + GH_TOKEN: ${{ github.token }} |
| 24 | + GH_REPO: ${{ github.repository }} |
| 25 | + SOURCE_TAG: v0.2.0-rc.1 |
| 26 | + STABLE_TAG: v0.2.0 |
| 27 | + SOURCE_SHA: 0a039ef6d340e26aa01a62df3670f74da1f03a12 |
| 28 | + steps: |
| 29 | + - name: Verify RC tag and download unchanged installers |
| 30 | + shell: bash |
| 31 | + run: | |
| 32 | + set -euo pipefail |
| 33 | + actual="$(gh api "repos/$GH_REPO/git/ref/tags/$SOURCE_TAG" --jq .object.sha)" |
| 34 | + test "$actual" = "$SOURCE_SHA" || { echo "::error::Source SHA mismatch"; exit 10; } |
| 35 | + if gh release view "$STABLE_TAG" >/dev/null 2>&1; then |
| 36 | + echo "Stable already published, refusing to overwrite." |
| 37 | + exit 0 |
| 38 | + fi |
| 39 | + mkdir -p dist |
| 40 | + gh release download "$SOURCE_TAG" --dir dist |
| 41 | + for file in \ |
| 42 | + ArSonComp-0.2.0-Windows-x64-Setup.exe \ |
| 43 | + ArSonComp-0.2.0-Ubuntu-Debian-amd64.deb \ |
| 44 | + ArSonComp-0.2.0-Linux-x86_64-Portable.tar.gz \ |
| 45 | + ArSonComp-0.2.0-macOS-Universal-AdHoc.pkg \ |
| 46 | + ArSonComp-0.2.0-macOS-VST3-Universal.zip \ |
| 47 | + SHA256SUMS.txt; do |
| 48 | + test -s "dist/$file" || { echo "::error::Missing $file"; exit 11; } |
| 49 | + done |
| 50 | + test "$(find dist -maxdepth 1 -type f | wc -l)" -eq 6 |
| 51 | + ( cd dist && sha256sum -c SHA256SUMS.txt ) |
| 52 | + echo "SHA-256 PASS: reusing the precise RC binaries, no rebuild." |
| 53 | +
|
| 54 | + - name: Publish stable release |
| 55 | + shell: bash |
| 56 | + run: | |
| 57 | + set -euo pipefail |
| 58 | + if gh release view "$STABLE_TAG" >/dev/null 2>&1; then |
| 59 | + echo "Stable already published." |
| 60 | + exit 0 |
| 61 | + fi |
| 62 | + cat > stable-notes.md <<'NOTES' |
| 63 | + # ArSonComp v0.2.0 — Stable |
| 64 | +
|
| 65 | + Stable public release, promoted following the product owner's physical evaluation and successful automated Windows/Linux/macOS build and packaging checks. |
| 66 | +
|
| 67 | + All five installers are byte-for-byte identical to v0.2.0-rc.1 and passed the original SHA-256 manifest. No rebuild or re-encoding was performed. |
| 68 | +
|
| 69 | + - **Windows 10/11 x64**: guided Inno Setup EXE with VST3 + Standalone. |
| 70 | + - **Ubuntu/Debian x86_64**: DEB installer. |
| 71 | + - **Other desktop Linux x86_64**: portable tar.gz with user installation scripts. |
| 72 | + - **macOS Universal (arm64/x86_64)**: ad-hoc signed PKG with VST3 + Standalone, plus VST3-only ZIP. |
| 73 | +
|
| 74 | + Download website: https://masarray.github.io/arson-comp/ |
| 75 | +
|
| 76 | + **Known limitations:** macOS PKG is NOT Apple notarized and may show a Gatekeeper prompt. This stable label reflects owner approval, not certification of every DAW/driver, measured zero xruns on every physical setup, or verified sonic parity with commercial products. Review third-party JUCE/ASIO distribution conditions. |
| 77 | +
|
| 78 | + Source commit corresponding to these binaries: 0a039ef6d340e26aa01a62df3670f74da1f03a12 (AGPL-3.0). Updated documentation and website live on main. Check SHA256SUMS.txt before installing. |
| 79 | + NOTES |
| 80 | + gh release create "$STABLE_TAG" dist/* \ |
| 81 | + --target "$SOURCE_SHA" \ |
| 82 | + --title "ArSonComp v0.2.0 — Stable" \ |
| 83 | + --notes-file stable-notes.md \ |
| 84 | + --latest |
| 85 | +
|
| 86 | + - name: Verify stable tag and complete public release |
| 87 | + shell: bash |
| 88 | + run: | |
| 89 | + set -euo pipefail |
| 90 | + test "$(gh api "repos/$GH_REPO/releases/tags/$STABLE_TAG" --jq .prerelease)" = false |
| 91 | + test "$(gh api "repos/$GH_REPO/releases/tags/$STABLE_TAG" --jq .draft)" = false |
| 92 | + test "$(gh api "repos/$GH_REPO/releases/tags/$STABLE_TAG" --jq '.assets|length')" -eq 6 |
| 93 | + tag_sha="$(gh api "repos/$GH_REPO/git/ref/tags/$STABLE_TAG" --jq .object.sha)" |
| 94 | + test "$tag_sha" = "$SOURCE_SHA" |
| 95 | + echo "v0.2.0 Stable published; 6 assets; tag references tested source." |
0 commit comments