3838 - name : deploy_dev
3939 if : github.ref == 'refs/heads/development-juce8'
4040 env :
41- artifactoryApiKey : ${{ secrets.artifactoryApiKey }}
41+ ARTIFACTORY_ACCESS_TOKEN : ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
4242 MACOS_CERTIFICATE : ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
4343 MACOS_CERTIFICATE_PWD : ${{ secrets.BUILD_CERTIFICATE_PWD }}
4444 MACOS_CERTIFICATE_NAME : ${{ secrets.BUILD_CERTIFICATE_NAME }}
4949 run : |
5050 cd Build/Release
5151 mkdir open-ephys
52- mv open-ephys .app/ open-ephys
52+ mv Open\ Ephys\ GUI .app open-ephys
5353
5454 # Turn our base64-encoded certificate back to a regular .p12 file
5555 echo $MACOS_CERTIFICATE | base64 --decode > certificate.p12
6262 security unlock-keychain -p $MACOS_CI_KEYCHAIN_PWD build.keychain
6363 security import certificate.p12 -k build.keychain -P $MACOS_CERTIFICATE_PWD -T /usr/bin/codesign
6464 security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $MACOS_CI_KEYCHAIN_PWD build.keychain
65- /usr/bin/codesign --force -s "$MACOS_CERTIFICATE_NAME" -v open-ephys/open-ephys .app --deep --strict --timestamp --options=runtime
65+ /usr/bin/codesign --force -s "$MACOS_CERTIFICATE_NAME" -v open-ephys/Open\ Ephys\ GUI .app --deep --strict --timestamp --options=runtime
6666
67- /usr/bin/codesign -dv --verbose=4 open-ephys/open-ephys .app
67+ /usr/bin/codesign -dv --verbose=4 open-ephys/Open\ Ephys\ GUI .app
6868
6969 # Store the notarization credentials so that we can prevent a UI password dialog from blocking the CI
7070
7676 # notarization service
7777
7878 echo "Creating temp notarization archive"
79- /usr/bin/ditto -c -k --sequesterRsrc --keepParent open-ephys/open-ephys .app open-ephys.zip
79+ /usr/bin/ditto -c -k --sequesterRsrc --keepParent open-ephys/Open\ Ephys\ GUI .app open-ephys.zip
8080
8181 # Here we send the notarization request to the Apple's Notarization service, waiting for the result.
8282 # This typically takes a few seconds inside a CI environment, but it might take more depending on the App
@@ -91,16 +91,16 @@ jobs:
9191 echo "Attach staple"
9292 rm -r open-ephys/*
9393 /usr/bin/ditto -x -k open-ephys.zip open-ephys
94- xcrun stapler staple open-ephys/open-ephys .app
94+ xcrun stapler staple open-ephys/Open\ Ephys\ GUI .app
9595
9696 zipfile=open-ephys-v1.0.0-dev-mac.zip
9797 /usr/bin/ditto -c -k --sequesterRsrc --keepParent open-ephys $zipfile
98- user_info="X-JFrog-Art-Api:$artifactoryApiKey "
99- curl -H $user_info -T $zipfile "https://openephysgui .jfrog.io/artifactory/1.0.0-dev/mac/$zipfile"
98+ user_info="X-JFrog-Art-Api:$ARTIFACTORY_ACCESS_TOKEN "
99+ curl -H $user_info -T $zipfile "https://openephys .jfrog.io/artifactory/GUI-binaries /1.0.0-dev/mac/$zipfile"
100100 - name : deploy_preview
101101 if : github.ref == 'refs/heads/testing-juce8'
102102 env :
103- artifactoryApiKey : ${{ secrets.artifactoryApiKey }}
103+ ARTIFACTORY_ACCESS_TOKEN : ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
104104 MACOS_CERTIFICATE : ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
105105 MACOS_CERTIFICATE_PWD : ${{ secrets.BUILD_CERTIFICATE_PWD }}
106106 MACOS_CERTIFICATE_NAME : ${{ secrets.BUILD_CERTIFICATE_NAME }}
@@ -111,7 +111,7 @@ jobs:
111111 run : |
112112 cd Build/Release
113113 mkdir open-ephys
114- mv open-ephys .app/ open-ephys
114+ mv Open\ Ephys\ GUI .app open-ephys
115115
116116 # Turn our base64-encoded certificate back to a regular .p12 file
117117 echo $MACOS_CERTIFICATE | base64 --decode > certificate.p12
@@ -124,9 +124,9 @@ jobs:
124124 security unlock-keychain -p $MACOS_CI_KEYCHAIN_PWD build.keychain
125125 security import certificate.p12 -k build.keychain -P $MACOS_CERTIFICATE_PWD -T /usr/bin/codesign
126126 security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $MACOS_CI_KEYCHAIN_PWD build.keychain
127- /usr/bin/codesign --force -s "$MACOS_CERTIFICATE_NAME" -v open-ephys/open-ephys .app --deep --strict --timestamp --options=runtime
127+ /usr/bin/codesign --force -s "$MACOS_CERTIFICATE_NAME" -v open-ephys/Open\ Ephys\ GUI .app --deep --strict --timestamp --options=runtime
128128
129- /usr/bin/codesign -dv --verbose=4 open-ephys/open-ephys .app
129+ /usr/bin/codesign -dv --verbose=4 open-ephys/Open\ Ephys\ GUI .app
130130
131131 # Store the notarization credentials so that we can prevent a UI password dialog from blocking the CI
132132
@@ -138,7 +138,7 @@ jobs:
138138 # notarization service
139139
140140 echo "Creating temp notarization archive"
141- /usr/bin/ditto -c -k --sequesterRsrc --keepParent open-ephys/open-ephys .app open-ephys.zip
141+ /usr/bin/ditto -c -k --sequesterRsrc --keepParent open-ephys/Open\ Ephys\ GUI .app open-ephys.zip
142142
143143 # Here we send the notarization request to the Apple's Notarization service, waiting for the result.
144144 # This typically takes a few seconds inside a CI environment, but it might take more depending on the App
@@ -153,23 +153,23 @@ jobs:
153153 echo "Attach staple"
154154 rm -r open-ephys/*
155155 /usr/bin/ditto -x -k open-ephys.zip open-ephys
156- xcrun stapler staple open-ephys/open-ephys .app
156+ xcrun stapler staple open-ephys/Open\ Ephys\ GUI .app
157157
158158 zipfile=open-ephys-v1.0.0-alpha.1-mac.zip
159159 /usr/bin/ditto -c -k --sequesterRsrc --keepParent open-ephys $zipfile
160- user_info="X-JFrog-Art-Api:$artifactoryApiKey "
161- curl -H $user_info -T $zipfile "https://openephysgui .jfrog.io/artifactory/1.0.0-alpha/mac/$zipfile"
160+ user_info="X-JFrog-Art-Api:$ARTIFACTORY_ACCESS_TOKEN "
161+ curl -H $user_info -T $zipfile "https://openephys .jfrog.io/artifactory/GUI-binaries /1.0.0-alpha/mac/$zipfile"
162162
163163 # Create a DMG installer
164164 brew install create-dmg && create-dmg \
165165 --volname "Open-Ephys Installer" \
166- --volicon "open-ephys/open-ephys .app/Contents/Resources/Icon.icns" \
167- --background "open-ephys/open-ephys .app/Contents/Resources/dmg_background.png" \
166+ --volicon "open-ephys/Open Ephys GUI .app/Contents/Resources/Icon.icns" \
167+ --background "open-ephys/Open Ephys GUI .app/Contents/Resources/dmg_background.png" \
168168 --window-pos 300 0 \
169169 --window-size 688 416 \
170170 --icon-size 128 \
171- --icon "open-ephys .app" 200 190 \
172- --hide-extension "Open- Ephys.app" \
171+ --icon "Open Ephys GUI .app" 200 190 \
172+ --hide-extension "Open Ephys GUI .app" \
173173 --app-drop-link 500 188 \
174174 "Open-Ephys-Installer.dmg" \
175175 "open-ephys/"
@@ -183,4 +183,4 @@ jobs:
183183 echo "Attach staple to DMG"
184184 xcrun stapler staple $installer
185185
186- curl -H $user_info -T $installer "https://openephysgui .jfrog.io/artifactory/1.0.0-alpha/mac/$installer"
186+ curl -H $user_info -T $installer "https://openephys .jfrog.io/artifactory/GUI-binaries /1.0.0-alpha/mac/$installer"
0 commit comments