diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 163e5e895..185ba92b6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -300,6 +300,33 @@ jobs: run: mv -v ${{ matrix.executable-path }}arduino-create-agent_cli${{ matrix.extension }} ${{ matrix.executable-path }}Arduino_Create_Agent_cli${{ matrix.extension }} if: matrix.os == 'ubuntu-18.04' + - name: get year + run: echo "YEAR=$(date "+%Y")" >> $GITHUB_ENV + if: matrix.os == 'macos-10.15' + + - name: Generate Info.plist for MacOS + run: | + cat > skel/ArduinoCreateAgent.app/Contents/Info.plist <CFBundlePackageTypeAPPLCFBundleInfoDictionaryVersion6.0 + + CFBundleIconFile AppIcon.icns + + CFBundleName Arduino Create Agent + CFBundleExecutable Arduino_Create_Agent + CFBundleIdentifier create.arduino.cc + + CFBundleVersion ${GITHUB_REF##*/} + NSHumanReadableCopyright © Copyright ${{ env.YEAR }} Arduino LLC + CFBundleShortVersionString ${GITHUB_REF##*/} + LSUIElement + + NSPrincipalClassNSApplication + NSMainNibFileMainMenu + + + EOF + if: matrix.os == 'macos-10.15' + - name: Save InstallBuilder license to file run: echo "${{ secrets.INSTALLER_LICENSE }}" > /tmp/license.xml