Repository navigation
Tags
Tags
ci: fix release workflow and add changelog for v0.1.0 (#21) The release workflow existed but had never been executed. Six defects would have made the first tagged release fail or produce wrong results: - build-push-images had no job-level permissions, so pushing to GHCR could fail with 403 when the default GITHUB_TOKEN is read-only. - There was no pre-release concept, so a tag such as v0.1.0-rc.1 would be published as a stable release and would overwrite the latest image tag. - The image tags expanded to a nested, mixed-case GHCR path, which GHCR rejects, and which did not match the documented coordinates. - body_path and generate_release_notes were both set, so the release body would have contained two stacked sets of notes. - The rlark-ui image build never produced apps/rlark-ui/dist, which the Dockerfile copies, so the image build failed on a missing path. The frontend is now built before the image, as docker-build.yml already does. - create-release downloaded every artifact of the run, including the *.dockerbuild build records uploaded by docker/build-push-action. The download is now restricted to the binary artifacts. Release notes are now taken from a hand-written CHANGELOG.md section, with git-cliff kept as a non-fatal fallback. The documented container image coordinates are aligned with what the workflow actually pushes. Signed-off-by: lky <lkybuaa@163.com>