From a487e7fe156267ae3dd886f9241a79cbc3d46aa2 Mon Sep 17 00:00:00 2001 From: Jason Dove Date: Fri, 28 Jan 2022 22:11:50 -0600 Subject: [PATCH] use absolute paths in bundle script --- .github/workflows/artifacts.yml | 1 + scripts/macOS/bundle.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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/."