Skip to content

Releasing

OpenLua Bot edited this page Nov 11, 2026 · 1 revision

Releasing

Releases are built and published by GitHub Actions. The tag is the source of truth for the version; there is no checked-in version file to edit.

The authoritative version is docs/RELEASING.md.

What runs

On every push to main, the Build workflow:

  1. runs the full host suite and the repository hygiene check;
  2. builds EBOOT.PBP and the optional 8002013C boot probe in the PSPSDK container;
  3. resolves the next version; and
  4. publishes a GitHub Release with:
Asset Contents
openlua-tester-<version>.zip PSP/GAME/OpenLua/{EBOOT.PBP,script.lua,assets/}, PSP/GAME/OpenLuaProbe/EBOOT.PBP, README.txt, VERSION
openlua-<version>.EBOOT.PBP Standalone tester EBOOT
openlua-probe-<version>.EBOOT.PBP Standalone minimal boot probe
SHA256SUMS.txt Checksums for the files above

The release is skipped for pull requests and non-main branches, and only runs after the host tests and PSP build succeed. GitHub also attaches the automatic source archives.

The release tag and the package VERSION file identify the build. The version 1.0 line at the top of test_report.txt is the tester report format version, not the release version.

Version scheme

Versions are vMAJOR.MINOR.PATCH:

  • With no previous tag, the first release is v0.1.0.
  • Otherwise each push to main increments PATCH (v0.1.0 → v0.1.1).
  • Use a manual dispatch to choose MINOR, MAJOR or a full version.

Automatic patch release

Merge or push to main; no extra step is needed. The workflow creates the tag and release with the repository GITHUB_TOKEN, so no personal access token is required.

Manual release

Use Actions → Build → Run workflow and enter one of:

Input Result
version empty Bumps PATCH like a normal main push
version: 0.2.0 Releases v0.2.0
version: 1.0.0 Releases v1.0.0
version: 0.3.0-rc.1 Releases v0.3.0-rc.1
prerelease: true Marks the GitHub Release as a pre-release

The dispatch must run on main; the release job checks the ref before publishing.

gh workflow run Build -f version=0.2.0
gh run watch

Re-running

The release job is concurrency-limited to one main release at a time. If the resolved tag already exists, it reuses the tag and re-uploads assets with --clobber instead of failing. Re-running the workflow on the same commit refreshes the newest tag's assets rather than creating a duplicate version.

Local equivalent

To reproduce the release ZIP locally:

bash docker/build.sh all probe
OPENLUA_VERSION=v0.1.0 bash tools/package_tester.sh
cd out/tester-package && zip -r ../openlua-tester-v0.1.0.zip PSP README.txt VERSION

OPENLUA_VERSION defaults to dev for local packaging. OPENLUA_PROBE_EBOOT can point at a probe built elsewhere; if tools/bootprobe/EBOOT.PBP is absent, the probe is omitted from the package.

Verifying a release

mkdir rel && cd rel
gh release download v0.1.3 -D .
sha256sum -c SHA256SUMS.txt
unzip -p openlua-tester-v0.1.3.zip VERSION

Check that the standalone EBOOT does not import sceLibFont (the v0.1.3 fix), and that the ZIP contains EBOOT.PBP, script.lua, assets/, the probe folder, README.txt and VERSION.

Verification scope

A release means the host suite and PSP build passed. It does not mean the tester was run on real hardware. Release notes and docs/TESTER.md state that verification is PPSSPP-only until real PSP-1000/2000/3000/E1000/Go reports are collected.

When reporting hardware results, attach test_report.txt from the real unit.

Related

Clone this wiki locally