release: fix remove latest changelog step

This commit is contained in:
Gaël Goinvic committed 2025-01-30 09:18:24 +01:00
1 parent 3a4a3a90f4
commit ee3a2760e9
1 file changed
+6 -6
+6 -6
View File
@@ -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: