From ee3a2760e93398b60ff7c653e308ca6defb8d607 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Goinvic?= Date: Thu, 30 Jan 2025 09:18:24 +0100 Subject: [PATCH] release: fix remove latest changelog step --- .github/workflows/releasing.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/releasing.yml b/.github/workflows/releasing.yml index 4c9b8021..531f12ed 100644 --- a/.github/workflows/releasing.yml +++ b/.github/workflows/releasing.yml @@ -132,12 +132,6 @@ jobs: echo "this-version=$this_version" >> $GITHUB_OUTPUT echo "next-version=$next_version" >> $GITHUB_OUTPUT - - name: Remove latest changelog - run: | - rm CHANGELOG.latest.md - rm newsfragments/*.md - touch newsfragments/.gitkeep - - name: Release uses: softprops/action-gh-release@v2 with: @@ -148,6 +142,12 @@ jobs: # This could simply be omitted if we didn't want to test without a tag tag_name: "${{ steps.versions.outputs.this-version }}" + - name: Remove latest changelog + run: | + rm CHANGELOG.latest.md + rm newsfragments/*.md + touch newsfragments/.gitkeep + - name: Create PR for next patch version uses: peter-evans/create-pull-request@v7 with: