From d3700531f7ff95bd5c563f1d793ac3cdd0965392 Mon Sep 17 00:00:00 2001 From: Leonardo Emanuele Date: Mon, 1 Apr 2024 14:36:14 +0200 Subject: [PATCH] test new nuget build --- .github/workflows/build-publish.yml | 6 ++++++ Directory.Build.props | 3 +++ build/Version.props | 5 +++++ 3 files changed, 14 insertions(+) create mode 100644 Directory.Build.props create mode 100644 build/Version.props diff --git a/.github/workflows/build-publish.yml b/.github/workflows/build-publish.yml index e1cf3ee3..2820385a 100644 --- a/.github/workflows/build-publish.yml +++ b/.github/workflows/build-publish.yml @@ -46,6 +46,12 @@ jobs: with: useConfigFile: true + - name: Install dotnet tool + run: dotnet tool install -g dotnetCampus.TagToVersion + + - name: Set tag to version + run: dotnet TagToVersion -t ${{ github.ref }} + - name: Dotnet - Restore run: dotnet restore diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 00000000..2c52bf20 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/build/Version.props b/build/Version.props new file mode 100644 index 00000000..0e7f1561 --- /dev/null +++ b/build/Version.props @@ -0,0 +1,5 @@ + + + 1.0.5 + + \ No newline at end of file