remove debug echos

This commit is contained in:
J. Fronny 2020-04-07 20:55:40 +02:00 committed by GitHub
parent 3117693fa9
commit 2caf0c5162
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,25 +13,16 @@ jobs:
- name: Build
id: base_init
run: |
echo "download tools"
$(new-object System.Net.WebClient).DownloadFile("https://www.github.com/JFronny/UpTool2/releases/latest/download/Tools.zip", "$($(pwd).Path)\Tools.zip")
echo "unzip"
& "C:\Program Files\7-Zip\7z.exe" x .\Tools.zip
echo "remove leftovers"
rm Tools.zip
rm Install.bat
rm Remove.bat
echo "restore"
dotnet restore
echo "build"
& "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" -noLogo -verbosity:m -p:Configuration=Release
echo "copy"
cp *\bin\Release\net461\package.zip .
echo "get timespan"
[timespan]$span = [System.DateTime]::Now - [datetime]'01/01/2000'
echo "get version string"
$asmver = "1.0." + $span.Days.ToString() + "." + [math]::Round($span.Seconds / 2).ToString()
echo "set output"
echo "::set-output name=vers::$asmver"
- name: Create Release
id: create_release