Skip to content

Commit d00dbcc

Browse files
committed
fixed -dev.pkg being created for macOS when releasing manually
1 parent 561fbee commit d00dbcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-macos-installer.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,8 @@ jobs:
350350
# Copy uninstall script to app bundle for user access
351351
cp scripts/uninstall_cleanuparr.sh dist/Cleanuparr.app/Contents/Resources/
352352
353-
# Determine package name
354-
if [[ "${{ github.ref }}" =~ ^refs/tags/ ]]; then
353+
# Determine package name - if app_version input was provided, it's a release build
354+
if [[ -n "${{ inputs.app_version }}" ]] || [[ "${{ github.ref }}" =~ ^refs/tags/ ]]; then
355355
pkg_name="Cleanuparr-${{ env.appVersion }}-macos-${{ matrix.artifact_suffix }}.pkg"
356356
else
357357
pkg_name="Cleanuparr-${{ env.appVersion }}-macos-${{ matrix.artifact_suffix }}-dev.pkg"

0 commit comments

Comments
 (0)