From 6cef57c5d8320691777cb4f413932aa0ff3e4ecf Mon Sep 17 00:00:00 2001 From: aboyko Date: Wed, 19 Jul 2023 18:48:33 -0400 Subject: [PATCH] GHA: correct osx signing script, stop osx signing in maven build --- .../scripts/sign-notarize-osx-distro-file.sh | 2 +- .../gh-hosted-eclipse-distro-build.yml | 2 +- .../pom.xml | 31 ++++++++----------- 3 files changed, 15 insertions(+), 20 deletions(-) diff --git a/.github/scripts/sign-notarize-osx-distro-file.sh b/.github/scripts/sign-notarize-osx-distro-file.sh index ac092eba2..6d1b93294 100755 --- a/.github/scripts/sign-notarize-osx-distro-file.sh +++ b/.github/scripts/sign-notarize-osx-distro-file.sh @@ -25,7 +25,7 @@ cd ${dir}/${destination_folder_name} echo "Generating dmg-config.json..." echo '{' >> dmg-config.json echo ' "title": "Spring Tool Suite 4",' >> dmg-config.json -echo ' "icon": "/Users/aboyko/git/sts4/eclipse-distribution/org.springframework.boot.ide.branding/sts4.icns",' >> dmg-config.json +echo ' "icon": "'$icns'",' >> dmg-config.json echo ' "contents": [' >> dmg-config.json echo ' { "x": 192, "y": 100, "type": "file", "path": "./SpringToolSuite4.app" },' >> dmg-config.json echo ' { "x": 448, "y": 100, "type": "link", "path": "/Applications" },' >> dmg-config.json diff --git a/.github/workflows/gh-hosted-eclipse-distro-build.yml b/.github/workflows/gh-hosted-eclipse-distro-build.yml index eda293196..2f65a66f9 100644 --- a/.github/workflows/gh-hosted-eclipse-distro-build.yml +++ b/.github/workflows/gh-hosted-eclipse-distro-build.yml @@ -82,7 +82,7 @@ jobs: run: | cd eclipse-distribution KEYCHAIN=$RUNNER_TEMP/app-signing.keychain-db - ./mvnw --batch-mode -U clean deploy -P${{ inputs.eclipse_profile }} -P${{ inputs.build_type }} -Pgitactions -Pgpg.sign -Dsigning.skip=true -Dmaven.repo.local=~/.m2/repository-signed -Dhttpclient.retry-max=20 -Dmaven.test.skip=true -Declipse.p2.mirrors=false -Dtycho.localArtifacts=ignore -Ds3service.https-only=true -Dp2.replaceQualifier=true -Dorg.eclipse.ecf.provider.filetransfer.httpclient.retrieve.readTimeout=1200000 -Dorg.eclipse.equinox.p2.transport.ecf.retry=5 -Dskip.eclipserun.proxies=false -Dskip.osx.signing=false -Dskip.win.signing=true -Dskip.osx.notarizing=false -Dtycho.equinox.resolver.uses=true + ./mvnw --batch-mode -U clean deploy -P${{ inputs.eclipse_profile }} -P${{ inputs.build_type }} -Pgitactions -Pgpg.sign -Dsigning.skip=true -Dmaven.repo.local=~/.m2/repository-signed -Dhttpclient.retry-max=20 -Dmaven.test.skip=true -Declipse.p2.mirrors=false -Dtycho.localArtifacts=ignore -Ds3service.https-only=true -Dp2.replaceQualifier=true -Dorg.eclipse.ecf.provider.filetransfer.httpclient.retrieve.readTimeout=1200000 -Dorg.eclipse.equinox.p2.transport.ecf.retry=5 -Dskip.eclipserun.proxies=false -Dskip.osx.signing=true -Dskip.win.signing=true -Dskip.osx.notarizing=true -Dtycho.equinox.resolver.uses=true - name: Upload Build Artifacts for Signing env: AWS_ACCESS_KEY_ID: ${{ secrets.TOOLS_S3_ACCESS_KEY }} diff --git a/eclipse-distribution/org.springframework.boot.ide.product.e428/pom.xml b/eclipse-distribution/org.springframework.boot.ide.product.e428/pom.xml index 650baaf4e..4f013edf9 100644 --- a/eclipse-distribution/org.springframework.boot.ide.product.e428/pom.xml +++ b/eclipse-distribution/org.springframework.boot.ide.product.e428/pom.xml @@ -529,10 +529,10 @@ - - - - + + + + @@ -542,26 +542,21 @@ - - - - - - - - + + + + + - - - - - - + + + +