Skip to content

Commit

Permalink
Merge pull request #11 from sia-digital/fix/create-git-tag
Browse files Browse the repository at this point in the history
(build): simplify tag & release
  • Loading branch information
lukas-kd authored Nov 23, 2023
2 parents e57fb98 + dadf397 commit 1ed2caf
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/dotnet-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,9 @@ jobs:
- name: Publish nuget packages
run: dotnet nuget push "**/publish/*.nupkg" -s 'https://api.nuget.org/v3/index.json' --api-key ${{secrets.NUGET_API_KEY}}

- name: Tag commit
uses: tvdias/github-tagger@v0.0.1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
tag: v${NBGV_SimpleVersion}

- uses: ncipollo/release-action@v1
- name: tag and release
uses: ncipollo/release-action@v1
with:
commit: main
tag: v${NBGV_SimpleVersion}
generateReleaseNotes: true



0 comments on commit 1ed2caf

Please sign in to comment.