Releasing¶
Releases are built and published by
release.yml.
Pushing a tag named
v<major>.<minor>.<patch> builds and tests the native library on macOS ARM64,
macOS x64, Linux x64, and Windows x64. The workflow packages one ZIP for each
target, validates and combines those packages into an all-desktop ZIP, and
creates a GitHub release with generated notes after every build succeeds.
Prepare a release¶
- Set the release version in
meson.build. - Add a dated entry for the same version to
CHANGELOG.md. - Run the release metadata check and the local build:
- Commit the release preparation and make sure the
mainbranch is green.
The tag, Meson version, and changelog entry must agree. The release workflow checks all three before doing a native build.
Publish a release¶
Create an annotated tag on the prepared commit and push it:
The tag push is the publication trigger. Do not create the GitHub release by hand while the workflow is running. If any platform fails, no release is created; fix the failure, delete the failed remote tag, and prepare a new tag only after confirming that no release was published.
Release archives¶
Each archive is named love-thorvg-v<version>-<platform>-<architecture>.zip
and contains:
love_thorvg/
├── init.lua
├── view.lua
└── native/<platform>-<architecture>/<library>
README.md
LICENSE
THORVG-LICENSE
The four target archives intentionally contain one native target each. The
release also contains love-thorvg-v<version>-all-desktop.zip, which has all
four directories in one package. scripts/combine_packages.py normalizes text
line endings and verifies all shared Lua, documentation, and license content
before it creates that archive.