Skip to content

Commit f80e73d

Browse files
committed
update github workflow
1 parent e3f0df2 commit f80e73d

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/build-test-package-publish.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -271,21 +271,16 @@ jobs:
271271
- name: get release informations
272272
id: get_release_informations
273273
run: |
274-
REL_NOTES="$(poetry run npm run --silent extract-release-notes)"
274+
poetry run npm run --silent extract-release-notes > ./auto_relnotes.md
275275
276-
REL_NOTES="${REL_NOTES//'%'/'%25'}"
277-
REL_NOTES="${REL_NOTES//$'\n'/'%0A'}"
278-
REL_NOTES="${REL_NOTES//$'\r'/'%0D'}"
279-
280-
echo "release_notes=$REL_NOTES" >> $GITHUB_OUTPUT
281276
echo "is_prelease=$(poetry run npm run --silent is-prerelease)" >> $GITHUB_OUTPUT
282277
283278
- name: create guthub release
284279
uses: ncipollo/release-action@v1
285280
with:
286281
artifacts: "dist/*"
287282
prerelease: ${{ steps.get_release_informations.outputs.is_prelease }}
288-
body: ${{ steps.get_release_informations.outputs.release_notes }}
283+
bodyFile: ./auto_relnotes.md
289284
token: ${{ secrets.GITHUB_TOKEN }}
290285

291286
- name: publish vsix and python packages

0 commit comments

Comments
 (0)