File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,14 @@ jobs:
103103 xcrun stapler staple --verbose "$APP_PATH"
104104
105105 echo "Creating DMG using script: ${{ matrix.create_dmg_script }}"
106- ${{ matrix.create_dmg_script }}
106+ ${{ matrix.create_dmg_script }}
107+
108+ - name : Rename DMG so filenames are unique
109+ if : runner.os == 'macOS'
110+ run : |
111+ DMG_DIR="dist/installers-${{ matrix.installer_dir_suffix }}"
112+ mv "$DMG_DIR/Localforge.dmg" \
113+ "$DMG_DIR/Localforge-${{ matrix.installer_dir_suffix }}.dmg"
107114
108115 # ---------- Windows portable build via electron-packager --------
109116 - name : Package Windows (portable)
@@ -190,7 +197,6 @@ jobs:
190197 uses : softprops/action-gh-release@v1
191198 with :
192199 files : |
193- dist-artifacts/localforge-osx-arm64-installer/*.dmg
194- dist-artifacts/localforge-osx-intel-installer/*.dmg
195- dist-artifacts/localforge-windows-installer/*.zip
200+ dist-artifacts/**/Localforge-*.dmg
201+ dist-artifacts/localforge-windows-installer/*.zip
196202 draft : true
You can’t perform that action at this time.
0 commit comments