File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -13,20 +13,18 @@ version="$1"
13
13
echo " Building version $version "
14
14
15
15
# 2. Write the version to version.txt. This is read by the UI to know the current version.
16
- echo " $version " > AvaGui /version.txt
16
+ echo " $version " > Gui /version.txt
17
17
18
- # # 2 . Build the project for different platforms
18
+ # 3 . Build the project for different platforms
19
19
echo " Building"
20
- dotnet publish AvaGui/AvaGui .csproj -c Release -p:PublishSingleFile=true -p:Version=$version --self-contained --runtime win-x64
21
- dotnet publish AvaGui/AvaGui .csproj -c Release -p:PublishSingleFile=true -p:Version=$version --self-contained --runtime linux-x64
22
- dotnet publish AvaGui/AvaGui .csproj -c Release -p:PublishSingleFile=true -p:Version=$version --self-contained --runtime osx-x64
20
+ dotnet publish Gui/Gui .csproj -c Release -p:PublishSingleFile=true -p:Version=$version --self-contained --runtime win-x64
21
+ dotnet publish Gui/Gui .csproj -c Release -p:PublishSingleFile=true -p:Version=$version --self-contained --runtime linux-x64
22
+ dotnet publish Gui/Gui .csproj -c Release -p:PublishSingleFile=true -p:Version=$version --self-contained --runtime osx-x64
23
23
24
- # dotnet publish ObjectService/ObjectService.csproj -c Release -p:PublishSingleFile=true -p:Version=$version --self-contained --runtime linux-x64
25
-
26
- # 3. Create the ZIP and tar archives
24
+ # 4. Create the ZIP and tar archives
27
25
echo " Zipping"
28
26
29
- pushd " AvaGui /bin/Release/net8.0/"
27
+ pushd " Gui /bin/Release/net8.0/"
30
28
31
29
pushd " win-x64/publish"
32
30
zip -r " object-editor-$version -win-x64.zip" .
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ version="$1"
13
13
echo " Building version $version "
14
14
15
15
# 2. Write the version to version.txt. This is purely to generate a commit on master for new version
16
- echo " $version " > AvaGui /version.txt
16
+ echo " $version " > Gui /version.txt
17
17
18
18
# 3. Make a release commit
19
- git add AvaGui /version.txt
19
+ git add Gui /version.txt
20
20
git commit -m " prepare $version "
21
21
git push
22
22
You can’t perform that action at this time.
0 commit comments