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