Skip to content

Commit

Permalink
updated version
Browse files Browse the repository at this point in the history
  • Loading branch information
FrenchGithubUser committed Apr 1, 2023
1 parent 96984cc commit 7210d6c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions new_release.sh
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
2 changes: 1 addition & 1 deletion variables/variables.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var RESULTS []ItemList

var ARGS []string

var CURRENT_VERSION string = "0.1.1"
var CURRENT_VERSION string = "0.2"

type Item struct {
Name string
Expand Down

0 comments on commit 7210d6c

Please sign in to comment.