From 385fc5e901e23cf8a6f55c38de57b767feb984cf Mon Sep 17 00:00:00 2001 From: NotCoffee418 <9306304+NotCoffee418@users.noreply.github.com> Date: Tue, 23 Jul 2024 09:54:02 +0200 Subject: [PATCH] Set up auto versioning - Build on .NET 8 --- .github/workflows/cd.yml | 3 +-- .github/workflows/ci.yml | 3 +-- CSharpScriptOperations/CSharpScriptOperations.csproj | 4 +++- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 27d3ee4..ec0c1b0 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -14,8 +14,7 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: - dotnet-version: "6.0.x" - include-prerelease: true + dotnet-version: "8.0.x" - name: Install dependencies run: dotnet restore - name: Build diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 067f89c..5f67751 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,8 +14,7 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: - dotnet-version: "6.0.x" - include-prerelease: true + dotnet-version: "8.0.x" - name: Install dependencies run: dotnet restore - name: Build diff --git a/CSharpScriptOperations/CSharpScriptOperations.csproj b/CSharpScriptOperations/CSharpScriptOperations.csproj index de36029..dbfe565 100644 --- a/CSharpScriptOperations/CSharpScriptOperations.csproj +++ b/CSharpScriptOperations/CSharpScriptOperations.csproj @@ -10,7 +10,9 @@ LICENSE Library for streamlining the process of executing custom operations via the console. Stijn Raeymaekers - 1.4.2 + $([System.DateTime]::op_Subtraction($([System.DateTime]::get_Now().get_Date()),$([System.DateTime]::new(2000,1,1))).get_TotalDays()) + $([MSBuild]::Divide($([System.DateTime]::get_Now().get_TimeOfDay().get_TotalMinutes()), 2).ToString('F0')) + 1.$(Build).$(Revision) latest README.md