From e023e7e0b43740dbb0b1ce141e4e70b37b89a499 Mon Sep 17 00:00:00 2001 From: Syer10 Date: Sat, 30 Mar 2024 20:11:46 -0400 Subject: [PATCH] Another naming fix attempt --- .github/workflows/Preview.yml | 2 +- scripts/NamingFix.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Preview.yml b/.github/workflows/Preview.yml index da9761ff9..253d92d83 100644 --- a/.github/workflows/Preview.yml +++ b/.github/workflows/Preview.yml @@ -202,7 +202,7 @@ jobs: uses: pozetroninc/github-action-get-latest-release@v0.7.0 with: token: ${{ github.token }} - exclude_types: "prerelease, draft" + excludes: "prerelease, draft" owner: Suwayomi repo: Suwayomi-JUI-preview diff --git a/scripts/NamingFix.sh b/scripts/NamingFix.sh index 7a53d6156..66e7bf039 100755 --- a/scripts/NamingFix.sh +++ b/scripts/NamingFix.sh @@ -16,7 +16,7 @@ if [ -f "$msi" ]; then fi fi -dmg_x64="$(find ./runner-package-osx-x64/binaries/\(main-release\|main\)/dmg/ -iname '*.dmg' 2>/dev/null)" +dmg_x64="$(find ./runner-package-osx-x64/ -iname '*.dmg' 2>/dev/null)" if [ -f "$dmg_x64" ]; then dir="$(dirname "$dmg_x64")" version=$(tmp="${dmg_x64%.*}" && echo "${tmp##*-}") @@ -26,7 +26,7 @@ if [ -f "$dmg_x64" ]; then fi fi -dmg_arm64="$(find ./runner-package-osx-arm64/binaries/\(main-release\|main\)/dmg/ -iname '*.dmg' 2>/dev/null)" +dmg_arm64="$(find ./runner-package-osx-arm64/ -iname '*.dmg' 2>/dev/null)" if [ -f "$dmg_arm64" ]; then dir="$(dirname "$dmg_arm64")" version=$(tmp="${dmg_arm64%.*}" && echo "${tmp##*-}")