Merge pull request #1294 from TriliumNext/fix-macos-artifact-names

Fix MacOS artifact names
This commit is contained in:
Elian Doran 2025-02-26 22:45:02 +02:00 committed by GitHub
commit 995d963450
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -180,7 +180,7 @@ runs:
dmg_file=$(find out -name "*.dmg" -print -quit) dmg_file=$(find out -name "*.dmg" -print -quit)
if [ -n "$dmg_file" ]; then if [ -n "$dmg_file" ]; then
echo "Found DMG: $dmg_file" echo "Found DMG: $dmg_file"
cp "$dmg_file" "upload/TriliumNextNotes-${{ github.ref_name }}-darwin-${{ inputs.arch }}.dmg" cp "$dmg_file" "upload/TriliumNextNotes-${{ github.ref_name }}-macos-${{ inputs.arch }}.dmg"
else else
echo "Warning: No DMG file found" echo "Warning: No DMG file found"
fi fi
@ -190,7 +190,7 @@ runs:
zip_file=$(find out -name "*.zip" -print -quit) zip_file=$(find out -name "*.zip" -print -quit)
if [ -n "$zip_file" ]; then if [ -n "$zip_file" ]; then
echo "Found ZIP: $zip_file" echo "Found ZIP: $zip_file"
cp "$zip_file" "upload/TriliumNextNotes-${{ github.ref_name }}-darwin-${{ inputs.arch }}.zip" cp "$zip_file" "upload/TriliumNextNotes-${{ github.ref_name }}-macos-${{ inputs.arch }}.zip"
else else
echo "Warning: No ZIP file found" echo "Warning: No ZIP file found"
fi fi