Skip to content

Commit a2b9b60

Browse files
Merge pull request #2365 from VWS-Python/rm-next-version
Simplify release script by removing unnecessary intermediary variables
2 parents e1c1555 + 8111a38 commit a2b9b60

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,9 @@ jobs:
4747

4848
- name: "Update changelog"
4949
uses: jacobtomlinson/gha-find-replace@v3
50-
env:
51-
NEXT_VERSION: ${{ steps.calver.outputs.release }}
5250
with:
5351
find: "Next\n----"
54-
replace: "Next\n----\n\n${{ env.NEXT_VERSION }}\n------------"
52+
replace: "Next\n----\n\n${{ steps.calver.outputs.release }}\n------------"
5553
include: "CHANGELOG.rst"
5654
regex: false
5755

0 commit comments

Comments
 (0)