Skip to content

Commit 5804ec3

Browse files
committed
Update Linux and Mac GHA workflows
1 parent 4369e01 commit 5804ec3

2 files changed

Lines changed: 12 additions & 8 deletions

File tree

.github/workflows/linux.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
curl -X POST --user $user_info https://api.bintray.com/content/open-ephys-gui/Test/Test-linux/$gui_ver/publish
4141
cd ../Resources/Installers/Linux/Open-Ephys_Installer
4242
mkdir -p usr/local/bin/open-ephys-gui
43-
cp -r ../../../../Build/Release usr/local/bin/open-ephys-gui
43+
cp -r ../../../../Build/Release/* usr/local/bin/open-ephys-gui
4444
cp ../../../Scripts/40-open-ephys.rules usr/local/bin/open-ephys-gui
4545
cd ..
4646
dpkg-deb --build Open-Ephys_Installer
@@ -59,19 +59,19 @@ jobs:
5959
cd Build
6060
cp -r Release open-ephys
6161
cp -r ../Resources/DataFiles open-ephys
62-
cp -r ../Licesnes open-ephys
62+
cp -r ../Licenses open-ephys
6363
zipfile=open-ephys-${gui_ver}-linux.zip
6464
zip -r $zipfile open-ephys
6565
user_info="$bintrayUser:$bintrayApiKey"
6666
curl -T $zipfile --user $user_info https://api.bintray.com/content/open-ephys-gui/Release/Release-linux/$gui_ver/$zipfile
6767
curl -X POST --user $user_info https://api.bintray.com/content/open-ephys-gui/Release/Release-linux/$gui_ver/publish
6868
cd ../Resources/Installers/Linux/Open-Ephys_Installer
6969
mkdir -p usr/local/bin/open-ephys-gui
70-
cp -r ../../../../Build/Release usr/local/bin/open-ephys-gui
70+
cp -r ../../../../Build/Release/* usr/local/bin/open-ephys-gui
7171
cp ../../../Scripts/40-open-ephys.rules usr/local/bin/open-ephys-gui
7272
cd ..
7373
dpkg-deb --build Open-Ephys_Installer
74-
installer=Open-Ephys_Installer_${gui_ver}-beta.deb
74+
installer=Open-Ephys_Installer_${gui_ver}.deb
7575
mv Open-Ephys_Installer.deb $installer
7676
curl -T $installer --user $user_info https://api.bintray.com/content/open-ephys-gui/Release-Installer/Release-Installer-linux/$gui_ver/$installer
7777
curl -X POST --user $user_info https://api.bintray.com/content/open-ephys-gui/Release-Installer/Release-Installer-linux/$gui_ver/publish

.github/workflows/osx.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,11 @@ jobs:
5252
--app-drop-link 500 188 \
5353
"Open-Ephys-Installer.dmg" \
5454
"open-ephys/"
55+
installer=Open-Ephys_Installer_${gui_ver}-beta.dmg
56+
mv -v Open-Ephys-Installer.dmg $installer
5557
user_info="$bintrayUser:$bintrayApiKey"
56-
curl -T Open-Ephys-Installer.dmg --user $user_info https://api.bintray.com/content/open-ephys-gui/Test-Installer/Test-Installer-Mac/$gui_ver/Open-Ephys-Installer.dmg
57-
curl -X POST --user $user_info https://api.bintray.com/content/open-ephys-gui/Test-Installer/Test-Installer-Mac/$gui_ver/publish
58+
curl -T $installer --user $user_info https://api.bintray.com/content/open-ephys-gui/Test-Installer/Test-Installer-mac/$gui_ver/$installer
59+
curl -X POST --user $user_info https://api.bintray.com/content/open-ephys-gui/Test-Installer/Test-Installer-mac/$gui_ver/publish
5860
- name: deploy_release
5961
if: github.ref == 'refs/heads/master'
6062
env:
@@ -84,6 +86,8 @@ jobs:
8486
--app-drop-link 500 188 \
8587
"Open-Ephys-Installer.dmg" \
8688
"open-ephys/"
89+
installer=Open-Ephys_Installer_${gui_ver}.dmg
90+
mv -v Open-Ephys-Installer.dmg $installer
8791
user_info="$bintrayUser:$bintrayApiKey"
88-
curl -T Open-Ephys-Installer.dmg --user $user_info https://api.bintray.com/content/open-ephys-gui/Release-Installer/Release-Installer-Mac/$gui_ver/Open-Ephys-Installer.dmg
89-
curl -X POST --user $user_info https://api.bintray.com/content/open-ephys-gui/Release-Installer/Release-Installer-Mac/$gui_ver/publish
92+
curl -T $installer --user $user_info https://api.bintray.com/content/open-ephys-gui/Release-Installer/Release-Installer-mac/$gui_ver/$installer
93+
curl -X POST --user $user_info https://api.bintray.com/content/open-ephys-gui/Release-Installer/Release-Installer-mac/$gui_ver/publish

0 commit comments

Comments
 (0)