Skip to content

Commit

Permalink
Sign binary inside the nested JAR inside rewrite-gradle.jar (new OR)
Browse files Browse the repository at this point in the history
  • Loading branch information
BoykoAlex committed Sep 7, 2024
1 parent 50ebd80 commit ffc3c6b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/scripts/sign-osx-distro-file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ signExecutableInsideJar ${dir}/${destination_folder_name}/SpringToolSuite4.app "
#sign libjnidispatch.jnilib inside jna.jar which is inside org.springframework.ide.eclipse.docker.client.jar bundle
signExecutableInsideNestedJar ${dir}/${destination_folder_name}/SpringToolSuite4.app ".*/org.springframework.ide.eclipse.docker.client.*\.jar$" ".*/jna-\d+.*\.jar$" "libjnidispatch.jnilib" ".*/libjnidispatch\.jnilib$"

#sign libjnidispatch.jnilib inside develocity-gradle-plugin.jar which is inside rewrite-gradle.jar bundle
signExecutableInsideNestedJar ${dir}/${destination_folder_name}/SpringToolSuite4.app ".*/develocity-gradle-plugin.*\.jar$" ".*/rewrite-gradle-\d+.*\.jar$" "libjnidispatch.jnilib" ".*/libjnidispatch\.jnilib$"

# Sign the app
ls -la ${dir}/${destination_folder_name}/SpringToolSuite4.app/
codesign --verbose --deep --force --timestamp --entitlements "${entitlements}" --options=runtime --keychain "${KEYCHAIN}" -s "${MACOS_CERTIFICATE_ID}" ${dir}/${destination_folder_name}/SpringToolSuite4.app
Expand Down

0 comments on commit ffc3c6b

Please sign in to comment.