fix(releases): Removes .NET 5 from releases workflow and fixes checkout tags (#487)
This commit is contained in:
parent
1cdd70ed46
commit
17d8620cd1
1 changed files with 6 additions and 5 deletions
11
.github/workflows/create-release.yml
vendored
11
.github/workflows/create-release.yml
vendored
|
|
@ -12,10 +12,6 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
|
||||
- name: Setup .NET 5
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: 5.0.102
|
||||
- name: Install NGBV
|
||||
uses: dotnet/nbgv@master
|
||||
id: nbgv
|
||||
|
|
@ -27,7 +23,12 @@ jobs:
|
|||
repo: ModernUO
|
||||
excludes: prerelease, draft
|
||||
- name: Create fake tag for diffing
|
||||
run: git checkout ${{ steps.last_release.outputs.release }} && git tag v0.1.0 -m "Old" && git checkout -
|
||||
run: |
|
||||
git config --global user.name "Runner"
|
||||
git config --global user.email "hi@modernuo.com"
|
||||
git checkout ${{ steps.last_release.outputs.release }}
|
||||
git tag v0.1.0 -m "Old"
|
||||
git checkout -
|
||||
- name: Conventional Changelog
|
||||
id: changelog
|
||||
uses: TriPSs/conventional-changelog-action@v3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue