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##*-}")