Tighten Linux x64 upload globs in the remote release workflow
Constraint: Linux arm64 assets and x64 assets share the same draft release transport bucket Rejected: Broad *.AppImage/*.deb/*.rpm globs | x64 upload step collided with arm64 assets and failed the workflow Confidence: high Scope-risk: narrow Directive: Keep per-architecture upload globs disjoint whenever multiple jobs share one draft release Tested: Prior run proved packaging succeeded and isolated the failure to the x64 upload selection Not-tested: Updated workflow dispatch before rerun
This commit is contained in:
1 parent
bc878c8f93
commit
42bb2f196f
1 file changed
+9
-4
@@ -107,10 +107,15 @@ jobs:
|
||||
--target "$GITHUB_SHA"
|
||||
|
||||
shopt -s nullglob
|
||||
files=(
|
||||
build/release/*.AppImage
|
||||
build/release/*.deb
|
||||
build/release/*.rpm
|
||||
files=()
|
||||
for file in build/release/AgentCompany-*.AppImage; do
|
||||
if [[ "$file" != *arm64* ]]; then
|
||||
files+=("$file")
|
||||
fi
|
||||
done
|
||||
files+=(
|
||||
build/release/agent-company_*_amd64.deb
|
||||
build/release/agent-company-*.x86_64.rpm
|
||||
build/release/latest-linux.yml
|
||||
)
|
||||
if [ ${#files[@]} -eq 0 ]; then
|
||||
|
||||
Reference in new issue
Block a user