mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
ci: Remove DMG staging directory to prevent Sentry from walking its /Applications symlink (#7687)
`sentry-cli debug-files upload` offers no option to exclude certain files or directories when recursively searching the given path. Thus, we need to remove this staging directory to prevent it from recursively walking the directory and inevitably erroring out when it hits a path it doesn't have access to.
This commit is contained in:
@@ -9,7 +9,7 @@ source "./scripts/build/lib.sh"
|
||||
# Define needed variables
|
||||
app_profile_id=8da59aa3-e8da-4a8c-9902-2d540324d92c
|
||||
ne_profile_id=0fccb78a-97c0-41b9-8c54-9c995280ea8e
|
||||
temp_dir="${RUNNER_TEMP:-$(mktemp -d)}"
|
||||
temp_dir="${TEMP_DIR:-$(mktemp -d)}"
|
||||
archive_path="$temp_dir/Firezone.xcarchive"
|
||||
export_options_plist_path="$temp_dir/ExportOptions.plist"
|
||||
git_sha=${GITHUB_SHA:-$(git rev-parse HEAD)}
|
||||
|
||||
@@ -9,7 +9,7 @@ source "./scripts/build/lib.sh"
|
||||
# Define needed variables
|
||||
app_profile_id=2bf20e38-81ea-40d0-91e5-330cf58f52d9
|
||||
ne_profile_id=2c683d1a-4479-451c-9ee6-ae7d4aca5c93
|
||||
temp_dir="${RUNNER_TEMP:-$(mktemp -d)}"
|
||||
temp_dir="${TEMP_DIR:-$(mktemp -d)}"
|
||||
package_path="$temp_dir/Firezone.pkg"
|
||||
git_sha=${GITHUB_SHA:-$(git rev-parse HEAD)}
|
||||
project_file=swift/apple/Firezone.xcodeproj
|
||||
|
||||
@@ -10,7 +10,7 @@ source "./scripts/build/lib.sh"
|
||||
app_profile_id=c5d97f71-de80-4dfc-80f8-d0a4393ff082
|
||||
ne_profile_id=153db941-2136-4d6c-96ef-52f748521e78
|
||||
notarize=${NOTARIZE:-"false"}
|
||||
temp_dir="${RUNNER_TEMP:-$(mktemp -d)}"
|
||||
temp_dir="${TEMP_DIR:-$(mktemp -d)}"
|
||||
dmg_dir="$temp_dir/dmg"
|
||||
dmg_path="$temp_dir/Firezone.dmg"
|
||||
package_path="$temp_dir/package.dmg"
|
||||
|
||||
Reference in New Issue
Block a user