Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Commit 7210d6c

Browse files
updated version
1 parent 96984cc commit 7210d6c

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

new_release.sh

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
# update the next version in the variables file (variable CURRENT_VERSION)
22

3-
rm build/bin/*
3+
echo -n "Did you update the version in the variables file ? "
4+
read updated_version
45

5-
wails build -platform "windows/amd64" -nsis -o "hatt-windows-amd64.exe"
6+
if [ $updated_version == 'y' ]; then
67

7-
mv ./build/bin/hatt-amd64-installer.exe ./build/bin/hatt-windows-amd64-installer.exe
8+
rm build/bin/*
89

9-
wails build -platform "linux/amd64" -o "hatt-linux-amd64"
10+
wails build -platform "windows/amd64" -nsis -o "hatt-windows-amd64.exe"
11+
12+
mv ./build/bin/hatt-amd64-installer.exe ./build/bin/hatt-windows-amd64-installer.exe
13+
14+
wails build -platform "linux/amd64" -o "hatt-linux-amd64"
15+
fi

variables/variables.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var RESULTS []ItemList
3030

3131
var ARGS []string
3232

33-
var CURRENT_VERSION string = "0.1.1"
33+
var CURRENT_VERSION string = "0.2"
3434

3535
type Item struct {
3636
Name string

0 commit comments

Comments
 (0)