Skip to content

Commit

Permalink
#1 | CHANGED: publish.yml for generating Version based on MinVer.
Browse files Browse the repository at this point in the history
  • Loading branch information
lanluu committed Dec 13, 2020
1 parent 09eef0f commit eb63056
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ jobs:
dotnet tool install --global minver-cli --version 2.3.1
# Gets the version number
VERSION=$(dotnet minver --auto-increment patch --tag-prefix v --verbosity t)
MINVER_VERSION=$(dotnet minver --auto-increment patch --tag-prefix v --verbosity t)
# See also: https://github.com/marketplace/actions/publish-nuget
- uses: rohith/publish-nuget@v2
name: Build and publish Nuget-Package 'TitanShark.Thresher.Core'
with:
PROJECT_FILE_PATH: TitanShark.Thresher.Core/TitanShark.Thresher.Core.csproj
PACKAGE_NAME: TitanShark.Thresher.Core
VERSION_STATIC: ${{VERSION}}
VERSION_STATIC: ${{env.MINVER_VERSION}}
TAG_COMMIT: true
TAG_FORMAT: v*
NUGET_SOURCE: https://api.nuget.org
Expand Down

0 comments on commit eb63056

Please sign in to comment.