File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -83,21 +83,15 @@ jobs:
8383 base="$(basename "$artifact_dir")"
8484 arch="${base#ssh-binaries-for-}" # => x86-64-small, aarch64-small, etc.
8585
86- # Ensure the structure contains bin/
87- if [ ! -d "$artifact_dir/bin" ]; then
88- echo "WARN: $artifact_dir has no bin/ directory; skipping"
89- continue
90- fi
91-
9286 # Compose archive names
9387 PKG_TGZ="openssh-static-${arch}-${TAG}.tar.gz"
9488 PKG_ZIP="openssh-static-${arch}-${TAG}.zip"
9589
96- # Create .tar.gz with bin/ contents
97- tar -C "$artifact_dir" -czf "release/${PKG_TGZ}" bin
90+ # Create .tar.gz with contents
91+ tar -C "$artifact_dir" -czf "release/${PKG_TGZ}" .
9892
99- # Create .zip with bin/ contents
100- (cd "$artifact_dir" && zip -r "../../release/${PKG_ZIP}" bin > /dev/null)
93+ # Create .zip with contents
94+ (cd "$artifact_dir" && zip -r "../../release/${PKG_ZIP}" . > /dev/null)
10195
10296 done
10397
You can’t perform that action at this time.
0 commit comments