From ad8896ee9e317a086726f6227c178386c3e0acf6 Mon Sep 17 00:00:00 2001 From: Liam Bigelow <40188355+bglw@users.noreply.github.com> Date: Wed, 26 Oct 2022 17:23:03 +1300 Subject: [PATCH] Fix Windows release assets once more --- .github/workflows/release.yml | 10 ++++------ CHANGELOG.md | 2 ++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5ab2b99d..d61eaea0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -331,22 +331,20 @@ jobs: RELEASE_VERSION=${GITHUB_REF#refs/tags/} EXEC_NAME="pagefind" - if [ "$RUNNER_OS" == "Windows" ]; then - EXEC_NAME="pagefind.exe" - fi ASSET_NAME="$EXEC_NAME-$RELEASE_VERSION-${{ matrix.target }}.tar.gz" ASSET_PATH="$src/$ASSET_NAME" EXTENDED_EXEC_NAME="pagefind_extended" - if [ "$RUNNER_OS" == "Windows" ]; then - EXTENDED_EXEC_NAME="pagefind_extended.exe" - fi EXTENDED_ASSET_NAME="$EXTENDED_EXEC_NAME-$RELEASE_VERSION-${{ matrix.target }}.tar.gz" EXTENDED_ASSET_PATH="$src/$EXTENDED_ASSET_NAME" CHECKSUM_PATH="$ASSET_PATH.sha256" EXTENDED_CHECKSUM_PATH="$EXTENDED_ASSET_PATH.sha256" + if [ "$RUNNER_OS" == "Windows" ]; then + EXEC_NAME="pagefind.exe" + EXTENDED_EXEC_NAME="pagefind_extended.exe" + fi tar czf $ASSET_PATH $EXEC_NAME tar czf $EXTENDED_ASSET_PATH $EXTENDED_EXEC_NAME diff --git a/CHANGELOG.md b/CHANGELOG.md index 445c0b58..5db1592e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ ## Unreleased +* Fix Windows release assets once more + ## v0.9.0 (October 26, 2022) ### Important Changes