-
Notifications
You must be signed in to change notification settings - Fork 21
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
1 parent
96984cc
commit 7210d6c
Showing
2 changed files
with
11 additions
and
5 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,9 +1,15 @@ | ||
# update the next version in the variables file (variable CURRENT_VERSION) | ||
|
||
rm build/bin/* | ||
echo -n "Did you update the version in the variables file ? " | ||
read updated_version | ||
|
||
wails build -platform "windows/amd64" -nsis -o "hatt-windows-amd64.exe" | ||
if [ $updated_version == 'y' ]; then | ||
|
||
mv ./build/bin/hatt-amd64-installer.exe ./build/bin/hatt-windows-amd64-installer.exe | ||
rm build/bin/* | ||
|
||
wails build -platform "linux/amd64" -o "hatt-linux-amd64" | ||
wails build -platform "windows/amd64" -nsis -o "hatt-windows-amd64.exe" | ||
|
||
mv ./build/bin/hatt-amd64-installer.exe ./build/bin/hatt-windows-amd64-installer.exe | ||
|
||
wails build -platform "linux/amd64" -o "hatt-linux-amd64" | ||
fi |
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