From e1cb38f1632a6e7f0353917a42a2c4a01fc73c75 Mon Sep 17 00:00:00 2001 From: Zorg Date: Fri, 27 Dec 2024 08:59:48 -0800 Subject: [PATCH] Upload temporary sparkle_dist tarball instead of sparkle-dist The release workflow on GitHub uploads files that match "Sparkle-*" which apparently now includes sparkle-dist.tar.xz even though it's not capitalized. Rename the file to sparkle_dist to work around this. --- .github/workflows/ci.yml | 2 +- Configurations/make-release-package.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 669f4f0fe..bc406b582 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -104,4 +104,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: Sparkle-distribution-${{ matrix.xcode }}.tar.xz - path: build/Build/Products/Release/sparkle-dist.tar.xz + path: build/Build/Products/Release/sparkle_dist.tar.xz diff --git a/Configurations/make-release-package.sh b/Configurations/make-release-package.sh index 0a126badd..5c09ea896 100755 --- a/Configurations/make-release-package.sh +++ b/Configurations/make-release-package.sh @@ -84,7 +84,7 @@ if [ "$ACTION" = "" ] ; then find . \! -type d | rev | sort | rev | tar --no-xattrs -cJvf "../Sparkle-$MARKETING_VERSION.tar.xz" --files-from=- # Copy archived distribution for CI - cp -f "../Sparkle-$MARKETING_VERSION.tar.xz" "../sparkle-dist.tar.xz" + cp -f "../Sparkle-$MARKETING_VERSION.tar.xz" "../sparkle_dist.tar.xz" # Extract archive for testing binary validity tar -xf "../Sparkle-$MARKETING_VERSION.tar.xz" -C "/tmp/sparkle-extract"