From 17d8620cd16928b6356a5bffdd5f984fed2fc06d Mon Sep 17 00:00:00 2001 From: Kamron Batman <3953314+kamronbatman@users.noreply.github.com> Date: Mon, 8 Feb 2021 00:51:43 -0800 Subject: [PATCH] fix(releases): Removes .NET 5 from releases workflow and fixes checkout tags (#487) --- .github/workflows/create-release.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index d5c3ecd4d..610a6838b 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -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