diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 74b00e915..228b3ac23 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -76,6 +76,7 @@ jobs: - name: Bundle shell: bash run: | + brew install coreutils plutil -replace CFBundleShortVersionString -string "${{ inputs.info_version }}" ErsatzTV-macOS/ErsatzTV-macOS/Info.plist plutil -replace CFBundleVersion -string "${{ inputs.info_version }}" ErsatzTV-macOS/ErsatzTV-macOS/Info.plist scripts/macOS/bundle.sh diff --git a/scripts/macOS/bundle.sh b/scripts/macOS/bundle.sh index e63b5a01b..5a61abd59 100755 --- a/scripts/macOS/bundle.sh +++ b/scripts/macOS/bundle.sh @@ -1,7 +1,7 @@ #! /bin/bash SCRIPT_FOLDER=$(dirname ${BASH_SOURCE[0]}) -REPO_ROOT="$SCRIPT_FOLDER/../.." +REPO_ROOT=$(realpath "$SCRIPT_FOLDER/../..") APP_NAME="$REPO_ROOT/ErsatzTV.app" PUBLISH_OUTPUT_DIRECTORY="$REPO_ROOT/publish/."