Skip to content

Commit db7b287

Browse files
committed
Deploy main branch
1 parent 1d4c7f5 commit db7b287

3 files changed

Lines changed: 3 additions & 81 deletions

File tree

.github/workflows/linux.yml

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ jobs:
3636
gui_ver=$(git describe --tags $(git rev-list --tags --max-count=1))
3737
cd Build
3838
cp -r Release open-ephys
39-
cp -r ../Resources/DataFiles open-ephys
4039
cp ../LICENSE open-ephys
4140
zipfile=open-ephys-${gui_ver}-linux-beta.zip
4241
zip -r $zipfile open-ephys
@@ -53,14 +52,13 @@ jobs:
5352
curl -H $user_info -T $installer "https://openephysgui.jfrog.io/artifactory/Test-Installer/linux/$installer"
5453
shell: bash
5554
- name: deploy_release
56-
if: github.ref == 'refs/heads/master'
55+
if: github.ref == 'refs/heads/main'
5756
env:
5857
artifactoryApiKey: ${{ secrets.artifactoryApiKey }}
5958
run: |
6059
gui_ver=$(git describe --tags $(git rev-list --tags --max-count=1))
6160
cd Build
6261
cp -r Release open-ephys
63-
cp -r ../Resources/DataFiles open-ephys
6462
cp ../LICENSE open-ephys
6563
zipfile=open-ephys-${gui_ver}-linux.zip
6664
zip -r $zipfile open-ephys
@@ -76,26 +74,3 @@ jobs:
7674
mv Open-Ephys_Installer.deb $installer
7775
curl -H $user_info -T $installer "https://openephysgui.jfrog.io/artifactory/Release-Installer/linux/$installer"
7876
shell: bash
79-
- name: deploy_dev
80-
if: github.ref == 'refs/heads/development-juce6'
81-
env:
82-
artifactoryApiKey: ${{ secrets.artifactoryApiKey }}
83-
run: |
84-
gui_ver="v0.6.0-dev"
85-
cd Build
86-
cp -r Release open-ephys
87-
cp ../LICENSE open-ephys
88-
zipfile=open-ephys-${gui_ver}-linux.zip
89-
zip -r $zipfile open-ephys
90-
user_info="X-JFrog-Art-Api:$artifactoryApiKey"
91-
curl -H $user_info -T $zipfile "https://openephysgui.jfrog.io/artifactory/Dev/linux/$zipfile"
92-
cd ../Resources/Installers/Linux/Open-Ephys_Installer
93-
mkdir -p usr/local/bin/open-ephys-gui
94-
cp -r ../../../../Build/Release/* usr/local/bin/open-ephys-gui
95-
cp ../../../Scripts/40-open-ephys.rules usr/local/bin/open-ephys-gui
96-
cd ..
97-
dpkg-deb --build Open-Ephys_Installer
98-
installer=open-ephys-gui-${gui_ver}.deb
99-
mv -v Open-Ephys_Installer.deb $installer
100-
curl -H $user_info -T $installer "https://openephysgui.jfrog.io/artifactory/Dev-Installer/linux/$installer"
101-
shell: bash

.github/workflows/osx.yml

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ jobs:
4242
cd Build/Release
4343
mkdir open-ephys
4444
mv open-ephys.app/ open-ephys
45-
cp -r ../../Resources/DataFiles open-ephys/
4645
cp ../../LICENSE open-ephys
4746
zip -r $zipfile open-ephys
4847
user_info="X-JFrog-Art-Api:$artifactoryApiKey"
@@ -63,7 +62,7 @@ jobs:
6362
mv -v Open-Ephys-Installer.dmg $installer
6463
curl -H $user_info -T $installer "https://openephysgui.jfrog.io/artifactory/Test-Installer/mac/$installer"
6564
- name: deploy_release
66-
if: github.ref == 'refs/heads/master'
65+
if: github.ref == 'refs/heads/main'
6766
env:
6867
artifactoryApiKey: ${{ secrets.artifactoryApiKey }}
6968
run: |
@@ -72,7 +71,6 @@ jobs:
7271
cd Build/Release
7372
mkdir open-ephys
7473
mv open-ephys.app/ open-ephys
75-
cp -r ../../Resources/DataFiles open-ephys/
7674
cp ../../LICENSE open-ephys
7775
zip -r $zipfile open-ephys
7876
user_info="X-JFrog-Art-Api:$artifactoryApiKey"
@@ -92,32 +90,3 @@ jobs:
9290
installer=Open_Ephys_GUI_${gui_ver}.dmg
9391
mv -v Open-Ephys-Installer.dmg $installer
9492
curl -H $user_info -T $installer "https://openephysgui.jfrog.io/artifactory/Release-Installer/mac/$installer"
95-
- name: deploy_dev
96-
if: github.ref == 'refs/heads/development-juce6'
97-
env:
98-
artifactoryApiKey: ${{ secrets.artifactoryApiKey }}
99-
run: |
100-
gui_ver="v0.6.0-dev"
101-
zipfile=open-ephys-${gui_ver}-mac.zip
102-
cd Build/Release
103-
mkdir open-ephys
104-
mv open-ephys.app/ open-ephys
105-
cp ../../LICENSE open-ephys
106-
zip -r $zipfile open-ephys
107-
user_info="X-JFrog-Art-Api:$artifactoryApiKey"
108-
curl -H $user_info -T $zipfile "https://openephysgui.jfrog.io/artifactory/Dev/mac/$zipfile"
109-
brew install create-dmg && create-dmg \
110-
--volname "Open-Ephys Installer" \
111-
--volicon "open-ephys/open-ephys.app/Contents/Resources/Icon.icns" \
112-
--background "open-ephys/open-ephys.app/Contents/Resources/dmg_background.png" \
113-
--window-pos 300 0 \
114-
--window-size 688 416 \
115-
--icon-size 128 \
116-
--icon "open-ephys.app" 200 190 \
117-
--hide-extension "Open-Ephys.app" \
118-
--app-drop-link 500 188 \
119-
"Open-Ephys-Installer.dmg" \
120-
"open-ephys/"
121-
installer=Open_Ephys_GUI_${gui_ver}.dmg
122-
mv -v Open-Ephys-Installer.dmg $installer
123-
curl -H $user_info -T $installer "https://openephysgui.jfrog.io/artifactory/Dev-Installer/mac/$installer"

.github/workflows/windows.yml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ jobs:
4141
cd Build
4242
cp -r Release open-ephys
4343
cp -r ../Resources/DLLs/FrontPanelUSB-DriverOnly-4.5.5.exe open-ephys
44-
cp -r ../Resources/DataFiles open-ephys
4544
cp ../LICENSE open-ephys
4645
gui_ver=$(git describe --tags $(git rev-list --tags --max-count=1))
4746
zipfile=open-ephys-${gui_ver}-windows-beta.zip
@@ -55,14 +54,13 @@ jobs:
5554
curl -H $user_info -T $installer "https://openephysgui.jfrog.io/artifactory/Test-Installer/windows/$installer"
5655
shell: bash
5756
- name: deploy_release
58-
if: github.ref == 'refs/heads/master'
57+
if: github.ref == 'refs/heads/main'
5958
env:
6059
artifactoryApiKey: ${{ secrets.artifactoryApiKey }}
6160
run: |
6261
cd Build
6362
cp -r Release open-ephys
6463
cp -r ../Resources/DLLs/FrontPanelUSB-DriverOnly-4.5.5.exe open-ephys
65-
cp -r ../Resources/DataFiles open-ephys
6664
cp ../LICENSE open-ephys
6765
gui_ver=$(git describe --tags $(git rev-list --tags --max-count=1))
6866
zipfile=open-ephys-${gui_ver}-windows.zip
@@ -75,23 +73,3 @@ jobs:
7573
mv Open-Ephys_Installer.exe $installer
7674
curl -H $user_info -T $installer "https://openephysgui.jfrog.io/artifactory/Release-Installer/windows/$installer"
7775
shell: bash
78-
- name: deploy_dev
79-
if: github.ref == 'refs/heads/development-juce6'
80-
env:
81-
artifactoryApiKey: ${{ secrets.artifactoryApiKey }}
82-
run: |
83-
cd Build
84-
cp -r Release open-ephys
85-
cp -r ../Resources/DLLs/FrontPanelUSB-DriverOnly-4.5.5.exe open-ephys
86-
cp ../LICENSE open-ephys
87-
gui_ver="v0.6.0-dev"
88-
zipfile=open-ephys-${gui_ver}-windows.zip
89-
powershell Compress-Archive -Path "open-ephys" -DestinationPath ${zipfile}
90-
user_info="X-JFrog-Art-Api:$artifactoryApiKey"
91-
curl -H $user_info -T $zipfile "https://openephysgui.jfrog.io/artifactory/Dev/windows/$zipfile"
92-
cd ../Resources/Installers/Windows
93-
iscc "windows_installer_script.iss"
94-
installer=Install-Open-Ephys-GUI-${gui_ver}.exe
95-
mv Open-Ephys_Installer.exe $installer
96-
curl -H $user_info -T $installer "https://openephysgui.jfrog.io/artifactory/Dev-Installer/windows/$installer"
97-
shell: bash

0 commit comments

Comments
 (0)