fix(ci): drop save --force from publish-release manifest write #104
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/publish-release-no-save-force"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Removes a stray
save --forcefrom.forgejo/workflows/publish-release.yml(introduced in #103) that violates the project's no-force-flags rule. Plainsavealready creates the file; the--forceis only meaningful whenartifacts/latest.jsonalready exists from an earlier step in the same job, which never happens because the workflow checks out a fresh tree. Hitting the failure path on an unexpected pre-existing file is the desired behaviour - it would surface a real bug in the build steps above.One-line diff inside the
Generate update manifeststep.Test plan
grep -n -- '--force\|-rf' .forgejo/workflows/returns no hits inside this repo's workflow tree after the change.v*tag push, theGenerate update manifeststep still emitsartifacts/latest.jsonand the workflow proceeds into the upload step (will be verified on the next release).