Skip to content

Commit

Permalink
Certify mac os binary (#78)
Browse files Browse the repository at this point in the history
* Add mac os signing of mac os
  • Loading branch information
michelu89 authored May 24, 2024
1 parent 17b1c95 commit 2021eaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tagged_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
if: matrix.os == 'windows-latest'
uses: actions/upload-artifact@v4
with:
name: aspect-model-editor-v${{ github.event.inputs.release_version }}-win
name: ame-backend-v${{ github.event.inputs.release_version }}-win
path: |
aspect-model-editor-runtime/target/ame-backend-${{ github.event.inputs.release_version }}-win.exe
aspect-model-editor-runtime/target/*.dll
Expand Down
4 changes: 2 additions & 2 deletions .jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ pipeline {
stage('MacOS Notarization') {
steps {
script {
sh "zip -j ame-backend-${env.version}-mac.zip signed_dir/ame-backend-${env.version}-mac"
sh "zip -j ame-backend-v${env.version}-mac.zip signed_dir/ame-backend-${env.version}-mac"

def macOsFile = "ame-backend-${env.version}-mac.zip"
def macOsFile = "ame-backend-v${env.version}-mac.zip"

def jsonOptions = "options={\"primaryBundleId\": \"org.eclipse.esmf\", \"staple\": true};type=application/json"
def response = sh(script: "curl -X POST -F file=@${macOsFile} -F '${jsonOptions}' https://cbi.eclipse.org/macos/xcrun/notarize", returnStdout: true).trim()
Expand Down

0 comments on commit 2021eaa

Please sign in to comment.