Skip to content

Commit

Permalink
Distribute as "ReaBoot" instead of "reaboot"
Browse files Browse the repository at this point in the history
helgoboss committed May 14, 2024
1 parent d5858f9 commit 223d1d4
Showing 2 changed files with 12 additions and 13 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -15,24 +15,24 @@ jobs:
settings:
- platform: 'macos-latest'
args: '--bundles app --target aarch64-apple-darwin'
# We produce this ZIP from the "reaboot.app" directory
src: 'target/aarch64-apple-darwin/release/bundle/macos/reaboot.app.zip'
# We produce this ZIP from the "ReaBoot.app" directory
src: 'target/aarch64-apple-darwin/release/bundle/macos/ReaBoot.app.zip'
dir_containing_app_bundle: 'target/aarch64-apple-darwin/release/bundle/macos'
dest: 'reaboot-macos-arm64.zip'
dest: 'ReaBoot-macos-arm64.zip'
- platform: 'macos-latest'
args: '--target x86_64-apple-darwin'
# We produce this ZIP from the "reaboot.app" directory
src: 'target/x86_64-apple-darwin/release/bundle/macos/reaboot.app.zip'
# We produce this ZIP from the "ReaBoot.app" directory
src: 'target/x86_64-apple-darwin/release/bundle/macos/ReaBoot.app.zip'
dir_containing_app_bundle: 'target/x86_64-apple-darwin/release/bundle/macos'
dest: 'reaboot-macos-x86_64.zip'
dest: 'ReaBoot-macos-x86_64.zip'
- platform: 'windows-latest'
args: '--bundles msi,nsis'
src: 'target/release/reaboot.exe'
dest: 'reaboot-windows-x64.exe'
dest: 'ReaBoot-windows-x64.exe'
- platform: 'ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04.
args: '--bundles deb'
src: 'target/release/bundle/deb/reaboot_*_amd64.deb'
dest: 'reaboot-linux-x86_64.deb'
dest: 'ReaBoot-linux-x86_64.deb'

runs-on: ${{ matrix.settings.platform }}
steps:
@@ -95,21 +95,20 @@ jobs:
working-directory: ${{ matrix.settings.dir_containing_app_bundle }}
shell: bash
run: |
zip -r reaboot.app.zip reaboot.app
zip -r ReaBoot.app.zip ReaBoot.app
- name: Move main asset
shell: bash
run: |
mkdir -p release-assets
mv ${{ matrix.settings.src }} "./release-assets/${{ matrix.settings.dest }}"
# This is probably just temporary. We don't actually want installers.
- name: Move Windows installers
if: matrix.settings.platform == 'windows-latest'
shell: bash
run: |
mv target/release/bundle/msi/reaboot_*_x64_en-US.msi "./release-assets/reaboot-windows-x64-setup.msi"
mv target/release/bundle/nsis/reaboot_*_x64-setup.exe "./release-assets/reaboot-windows-x64-setup.exe"
mv target/release/bundle/msi/reaboot_*_x64_en-US.msi "./release-assets/ReaBoot-windows-x64-setup.msi"
mv target/release/bundle/nsis/reaboot_*_x64-setup.exe "./release-assets/ReaBoot-windows-x64-setup.exe"
- name: Check if release exists
id: check_release
2 changes: 1 addition & 1 deletion gui/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
"distDir": "../dist"
},
"package": {
"productName": "reaboot"
"productName": "ReaBoot"
},
"tauri": {
"allowlist": {

0 comments on commit 223d1d4

Please sign in to comment.