From b48a412d39a3a2da1b755b13ff694a85a29d82c4 Mon Sep 17 00:00:00 2001 From: Kazuki Ota Date: Mon, 15 Jun 2020 16:06:55 +0900 Subject: [PATCH] Update dotnet-core.yml --- .github/workflows/dotnet-core.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index f6d5b6a..48d3b34 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -20,9 +20,9 @@ jobs: shell: pwsh run: | $doc = [XML](Get-Content 'Livet.props') - $doc.Project.PropertyGroup.Version += '-pre' + (Get-Date).ToString("yyyyMMddHHmm") + $doc.Project.PropertyGroup.PackageVersion = $doc.Project.PropertyGroup.Version + $doc.Project.PropertyGroup.PackageVersion += '-pre' + (Get-Date).ToString("yyyyMMddHHmm") $doc.Save('Livet.props') - echo $doc - name: Install dependencies run: dotnet restore Livet.Code.sln - name: Package