From adce9fe61974a5fe0213d146687300fa5c8e0f9d Mon Sep 17 00:00:00 2001 From: 97gamjak <97gamjak@gmail.com> Date: Fri, 31 May 2024 12:43:02 +0200 Subject: [PATCH] changed release.yml --- .github/workflows/release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0c0eb97..2b47e91 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -68,9 +68,10 @@ jobs: - name: Get previous tag id: previousTag run: | - name=$(git --no-pager tag --sort=creatordate --merged ${{ github.ref_name }} | head -1) + name=$(git --no-pager tag --sort=creatordate | head -1) echo "previousTag: $name" echo "previousTag=$name" >> $GITHUB_ENV + echo "::set-output name=previousTag::$name" - name: Update CHANGELOG id: changelog @@ -78,9 +79,7 @@ jobs: with: token: ${{ github.token }} fromTag: ${{ github.ref_name }} - toTag: ${{ env.previousTag }} - env: - previousTag: ${{ steps.previousTag.outputs.previousTag }} + toTag: ${{ steps.previousTag.outputs.previousTag }} - name: Commit CHANGELOG.md uses: stefanzweifel/git-auto-commit-action@v4