-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
build/bin | ||
build/release | ||
node_modules | ||
frontend/dist | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
if [ ! -n "$1" ]; then | ||
echo 'Error: version is empty' | ||
exit 1 | ||
fi | ||
|
||
version=$1 | ||
|
||
mkdir build/release/$version | ||
|
||
# build windows arm64 | ||
wails build -clean -platform windows/arm64 -trimpath -webview2 Embed | ||
mv build/bin/Ceph-Desktop-Manager.exe build/release/$version/Ceph-Desktop-Manager-arm64-$version.exe | ||
|
||
# build windows amd64 | ||
wails build -clean -platform windows/amd64 -trimpath -webview2 Embed | ||
mv build/bin/Ceph-Desktop-Manager.exe build/release/$version/Ceph-Desktop-Manager-amd64-$version.exe | ||
|
||
build mac universal | ||
wails build -clean -platform darwin/universal -trimpath | ||
cd build/bin | ||
pwd | ||
create-dmg 'Ceph Desktop Manager.app' --overwrite | ||
mv "Ceph Desktop Manager ${version:1}.dmg" ../release/$version/Ceph-Desktop-Manager-darwin-universal-$version.dmg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,6 @@ | |
"email": "[email protected]" | ||
}, | ||
"info": { | ||
"productVersion": "1.2.0" | ||
"productVersion": "1.3.0" | ||
} | ||
} |