Updated build scripts for this release.
This commit is contained in:
parent
e49dfda0db
commit
7e66063990
2 changed files with 40 additions and 40 deletions
66
build.ps1
66
build.ps1
|
@ -1,46 +1,46 @@
|
||||||
echo ""
|
Write-Output ""
|
||||||
echo "███████╗██╗ ██╗ ██╗███████╗██████╗ ██████╗ ████████╗"
|
Write-Output "███████╗██╗ ██╗ ██╗███████╗██████╗ ██████╗ ████████╗"
|
||||||
echo "██╔════╝██║ ██║ ██║██╔════╝██╔══██╗██╔═══██╗╚══██╔══╝"
|
Write-Output "██╔════╝██║ ██║ ██║██╔════╝██╔══██╗██╔═══██╗╚══██╔══╝"
|
||||||
echo "█████╗ ██║ ██║ ██║█████╗ ██████╔╝██║ ██║ ██║ "
|
Write-Output "█████╗ ██║ ██║ ██║█████╗ ██████╔╝██║ ██║ ██║ "
|
||||||
echo "██╔══╝ ██║ ██║ ██║██╔══╝ ██╔══██╗██║ ██║ ██║ "
|
Write-Output "██╔══╝ ██║ ██║ ██║██╔══╝ ██╔══██╗██║ ██║ ██║ "
|
||||||
echo "███████╗███████╗███████╗██║███████╗██████╔╝╚██████╔╝ ██║ "
|
Write-Output "███████╗███████╗███████╗██║███████╗██████╔╝╚██████╔╝ ██║ "
|
||||||
echo "╚══════╝╚══════╝╚══════╝╚═╝╚══════╝╚═════╝ ╚═════╝ ╚═╝ "
|
Write-Output "╚══════╝╚══════╝╚══════╝╚═╝╚══════╝╚═════╝ ╚═════╝ ╚═╝ "
|
||||||
echo ""
|
Write-Output ""
|
||||||
echo "Copyright © 2024 Toastie_t0ast & EllieBotDevs"
|
Write-Output "Copyright © 2024 Toastie_t0ast & EllieBotDevs"
|
||||||
echo ""
|
Write-Output ""
|
||||||
|
|
||||||
echo ""
|
Write-Output ""
|
||||||
echo "Publishing EllieBot"
|
Write-Output "Publishing EllieBot"
|
||||||
echo ""
|
Write-Output ""
|
||||||
|
|
||||||
echo ""
|
Write-Output ""
|
||||||
dotnet publish -c Release -r linux-x64 --self-contained -o elliebot-linux-x64 src/EllieBot/EllieBot.csproj
|
dotnet publish -c Release -r linux-x64 --self-contained -o elliebot-linux-x64 src/EllieBot/EllieBot.csproj
|
||||||
echo ""
|
Write-Output ""
|
||||||
dotnet publish -c Release -r linux-arm64 --self-contained -o elliebot-linux-arm64 src/EllieBot/EllieBot.csproj
|
dotnet publish -c Release -r linux-arm64 --self-contained -o elliebot-linux-arm64 src/EllieBot/EllieBot.csproj
|
||||||
echo ""
|
Write-Output ""
|
||||||
dotnet publish -c Release -r win-x64 --self-contained -o elliebot-windows-x64 src/EllieBot/EllieBot.csproj
|
dotnet publish -c Release -r win-x64 --self-contained -o elliebot-windows-x64 src/EllieBot/EllieBot.csproj
|
||||||
echo ""
|
Write-Output ""
|
||||||
dotnet publish -c Release -r win-arm64 --self-contained -o elliebot-windows-arm64 src/EllieBot/EllieBot.csproj
|
dotnet publish -c Release -r win-arm64 --self-contained -o elliebot-windows-arm64 src/EllieBot/EllieBot.csproj
|
||||||
echo ""
|
Write-Output ""
|
||||||
dotnet publish -c Release -r osx-x64 --self-contained -o elliebot-osx-x64 src/EllieBot/EllieBot.csproj
|
dotnet publish -c Release -r osx-x64 --self-contained -o elliebot-osx-x64 src/EllieBot/EllieBot.csproj
|
||||||
echo ""
|
Write-Output ""
|
||||||
dotnet publish -c Release -r osx-arm64 --self-contained -o elliebot-osx-arm64 src/EllieBot/EllieBot.csproj
|
dotnet publish -c Release -r osx-arm64 --self-contained -o elliebot-osx-arm64 src/EllieBot/EllieBot.csproj
|
||||||
|
|
||||||
echo ""
|
Write-Output ""
|
||||||
echo "Preparing the Windows installer build."
|
Write-Output "Preparing the Windows installer build."
|
||||||
echo ""
|
Write-Output ""
|
||||||
|
|
||||||
dotnet clean
|
dotnet clean
|
||||||
dotnet restore -f --no-cache -v n
|
dotnet restore -f --no-cache -v n
|
||||||
dotnet publish -c Release --self-contained --runtime win-x64 /p:Version=5.1.3 src/EllieBot
|
dotnet publish -c Release --self-contained --runtime win-x64 /p:Version=5.1.4 src/EllieBot
|
||||||
|
|
||||||
echo ""
|
Write-Output ""
|
||||||
echo ""
|
Write-Output ""
|
||||||
echo "Finished the initial build script"
|
Write-Output "Finished the initial build script"
|
||||||
echo ""
|
Write-Output ""
|
||||||
echo "To build the Windows installer please install Inno Setup from"
|
Write-Output "To build the Windows installer please install Inno Setup from"
|
||||||
echo "https://jrsoftware.org/isdl.php"
|
Write-Output "https://jrsoftware.org/isdl.php"
|
||||||
echo "And compile the exe_builder.iss"
|
Write-Output "And compile the exe_builder.iss"
|
||||||
echo ""
|
Write-Output ""
|
||||||
echo "If you are running on Windows please run the wsl command"
|
Write-Output "If you are running on Windows please run the wsl command"
|
||||||
echo "then run build.sh"
|
Write-Output "then run build.sh"
|
14
build.sh
14
build.sh
|
@ -2,12 +2,12 @@ echo ""
|
||||||
echo "Compressing build files"
|
echo "Compressing build files"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
tar cvf 5.1.3-linux-x64-build.tar elliebot-linux-x64/*
|
tar cvf 5.1.4-linux-x64-build.tar elliebot-linux-x64/*
|
||||||
tar cvf 5.1.3-linux-arm64-build.tar elliebot-linux-arm64/*
|
tar cvf 5.1.4-linux-arm64-build.tar elliebot-linux-arm64/*
|
||||||
tar cvf 5.1.3-osx-x64-build.tar elliebot-osx-x64/*
|
tar cvf 5.1.4-osx-x64-build.tar elliebot-osx-x64/*
|
||||||
tar cvf 5.1.3-osx-arm64-build.tar elliebot-osx-arm64/*
|
tar cvf 5.1.4-osx-arm64-build.tar elliebot-osx-arm64/*
|
||||||
zip -r 5.1.3-windows-x64-build.zip elliebot-windows-x64/*
|
zip -r 5.1.4-windows-x64-build.zip elliebot-windows-x64/*
|
||||||
zip -r 5.1.3-windows-arm64-build.zip elliebot-windows-arm64/*
|
zip -r 5.1.4-windows-arm64-build.zip elliebot-windows-arm64/*
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Moving the installer file you would have generated"
|
echo "Moving the installer file you would have generated"
|
||||||
|
@ -15,4 +15,4 @@ echo "if you followed the instructions in the bottom of the build.ps1 file"
|
||||||
echo "to the directory this script in run in."
|
echo "to the directory this script in run in."
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
#mv ellie-installers/5.1.3/ellie-setup-5.1.3.exe ellie-setup-5.1.3.exe
|
mv ellie-installers/5.1.4/ellie-setup-5.1.4.exe ellie-setup-5.1.4.exe
|
Loading…
Reference in a new issue