AquaDX/build.ps1
凌莞~(=^▽^=) dd9b8adb32
[+] Build with cake and commit id in version (#11)
* [+] Build with cake

* ci

* ci

* fetch-tags

* fetch-depth: 0

* melonloader 显示 Git 版本

* remove ci build alert

* set FileVersion to git version

* add describe to tg

* fix
2025-01-22 23:50:04 +08:00

14 lines
319 B
PowerShell

$ErrorActionPreference = 'Stop'
Set-Location -LiteralPath $PSScriptRoot
$env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE = '1'
$env:DOTNET_CLI_TELEMETRY_OPTOUT = '1'
$env:DOTNET_NOLOGO = '1'
dotnet tool restore
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
dotnet cake @args
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }