Skip to content
Merged

Dev #477

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/macos-installer-arm.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: macOS Installer Build (ARM arm64)

# Add permissions needed for creating releases
permissions:
contents: write

on:
push:
branches:
Expand Down Expand Up @@ -438,7 +442,9 @@ jobs:
elif [[ "${{ github.ref }}" == "refs/heads/dev" ]]; then
pkg_name="Huntarr-${version}-mac-dev-arm64.pkg"
else
pkg_name="Huntarr-${version}-mac-${branch}-arm64.pkg"
# Sanitize branch name by replacing slashes with hyphens
branch_safe=$(echo "${branch}" | tr '/' '-')
pkg_name="Huntarr-${version}-mac-${branch_safe}-arm64.pkg"
fi
fi

Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/macos-installer-intel.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: macOS Installer Build (Intel x86_64)

# Add permissions needed for creating releases
permissions:
contents: write

on:
push:
branches:
Expand Down Expand Up @@ -434,7 +438,9 @@ jobs:
elif [[ "${{ github.ref }}" == "refs/heads/dev" ]]; then
pkg_name="Huntarr-${version}-mac-dev-intel.pkg"
else
pkg_name="Huntarr-${version}-mac-${branch}-intel.pkg"
# Sanitize branch name by replacing slashes with hyphens
branch_safe=$(echo "${branch}" | tr '/' '-')
pkg_name="Huntarr-${version}-mac-${branch_safe}-intel.pkg"
fi
fi

Expand Down