Skip to content

Commit d377915

Browse files
committed
update build scripts for new gui folder name
1 parent 1854ad6 commit d377915

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

build.sh

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,18 @@ version="$1"
1313
echo "Building version $version"
1414

1515
# 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
1717

18-
## 2. Build the project for different platforms
18+
# 3. Build the project for different platforms
1919
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
2323

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
2725
echo "Zipping"
2826

29-
pushd "AvaGui/bin/Release/net8.0/"
27+
pushd "Gui/bin/Release/net8.0/"
3028

3129
pushd "win-x64/publish"
3230
zip -r "object-editor-$version-win-x64.zip" .

tag.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ version="$1"
1313
echo "Building version $version"
1414

1515
# 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
1717

1818
# 3. Make a release commit
19-
git add AvaGui/version.txt
19+
git add Gui/version.txt
2020
git commit -m "prepare $version"
2121
git push
2222

0 commit comments

Comments
 (0)