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:
4 files changed
+62
-44
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user