Skip to content

Commit

Permalink
Fix Mac installer name issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
neilccbrown committed Oct 10, 2023
1 parent 702b266 commit 2f000bc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-installers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ jobs:
cd bluej/package
mkdir tmpsign
cd tmpsign
bash ../sign-mac.sh ${{ secrets.DEVELOPER_NAME }} ../BlueJ-mac*.zip ${{ secrets.APPLEID_EMAIL }} ${{ secrets.APPLEID_PASSWORD }} ${{ secrets.APPLEID_TEAMID }} BlueJ-installer.dmg bluej_appdmg.json bluej-installer-icon
bash ../sign-mac.sh ${{ secrets.DEVELOPER_NAME }} ../Greenfoot-mac*.zip ${{ secrets.APPLEID_EMAIL }} ${{ secrets.APPLEID_PASSWORD }} ${{ secrets.APPLEID_TEAMID }} Greenfoot-installer.dmg greenfoot_appdmg.json greenfoot-installer-icon
bash ../sign-mac.sh ${{ secrets.DEVELOPER_NAME }} ../BlueJ-mac*.zip ${{ secrets.APPLEID_EMAIL }} ${{ secrets.APPLEID_PASSWORD }} ${{ secrets.APPLEID_TEAMID }} `basename ../BlueJ-mac*.zip .zip`.dmg bluej_appdmg.json bluej-installer-icon
bash ../sign-mac.sh ${{ secrets.DEVELOPER_NAME }} ../Greenfoot-mac*.zip ${{ secrets.APPLEID_EMAIL }} ${{ secrets.APPLEID_PASSWORD }} ${{ secrets.APPLEID_TEAMID }} `basename ../Greenfoot-mac*.zip .zip`.dmg greenfoot_appdmg.json greenfoot-installer-icon
- name: Archive BlueJ Mac installers
uses: actions/upload-artifact@v3
with:
Expand Down
10 changes: 5 additions & 5 deletions bluej/package/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<!-- Names of the the distributables created by the dist-target -->
<property name="dist.jarinstaller" value="BlueJ-generic-${bluej.version}${bluej.rcsuffix}.jar"/>
<property name="dist.jarinstaller.final" value="BlueJ-generic-${bluej.version}.jar"/>
<property name="dist.mac" value="BlueJ-mac-${bluej.version}${bluej.rcsuffix}.dmg"/>
<property name="dist.mac.final" value="BlueJ-mac-${bluej.version}.dmg"/>
<property name="dist.mac" value="BlueJ-mac-${bluej.version}${bluej.rcsuffix}"/>
<property name="dist.mac.final" value="BlueJ-mac-${bluej.version}"/>

<property name="dist.linux" value="BlueJ-linux-${bluej.version}${bluej.rcsuffix}"/>
<property name="dist.linux.final" value="BlueJ-linux-${bluej.version}"/>
Expand Down Expand Up @@ -272,7 +272,7 @@
<arg value="BlueJ.app" />
<arg value="BlueJ.app" />
<arg value="${mac_bundled_jdk_path}" />
<arg value="${basedir}/${dist.mac}" />
<arg value="${basedir}/${dist.mac}.zip" />
</exec>
<echo message="${bundleoutput}"/>

Expand Down Expand Up @@ -731,7 +731,7 @@

<target name="urls-rc">
<echo message="Mac:"/>
<test_url system="bluej" filename="rc/${dist.mac}"/>
<test_url system="bluej" filename="rc/${dist.mac}.dmg"/>
<echo message="Windows MSI:"/>
<test_url system="bluej" filename="rc/${dist.win}.msi"/>
<echo message="Windows ZIP:"/>
Expand All @@ -744,7 +744,7 @@

<target name="urls-final">
<echo message="Mac:"/>
<test_url system="bluej" filename="${dist.mac.final}"/>
<test_url system="bluej" filename="${dist.mac.final}.dmg"/>
<echo message="Windows MSI:"/>
<test_url system="bluej" filename="${dist.win.final}.msi"/>
<echo message="Windows ZIP:"/>
Expand Down

0 comments on commit 2f000bc

Please sign in to comment.