ci(release): build the package once and check that build
CI / check (push) Successful in 2m40s

The release pipeline compiled the project twice: ./dev.sh build in the check
job, then makepkg in the release job. A single job now builds with makepkg and
runs go vet, the tests and the smoke test on that tree, so publishing starts
only after the shipped build passed.

CI skips version-only pushes, which package.yml already covers, and the release
fails early when RELEASE_TOKEN is missing instead of reporting a bogus 401. The
package name no longer keeps the ./ prefix from ls, which corrupted the asset
and X-Filename names.
This commit is contained in:
BlackAngelTV committed 2026-11-25 11:05:40 +01:00
1 parent f38246f71d
commit aa1fff96b4
4 files changed
+62 -44

No files matched your search

+3
View File
@@ -7,6 +7,9 @@ on:
pull_request:
push:
branches: [main]
# A version-only commit is released by package.yml, which runs the same
# checks on the package build; CI would build that commit a second time.
paths-ignore: [version]
workflow_dispatch:
# A new push on the same branch supersedes the previous run, but main builds run