mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
fix issue with prepare-release-pr workflow
This commit is contained in:
parent
399fc32b60
commit
bf3830959d
1 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
name: Create Release PR
|
name: Create Prepare-Release PR
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
@ -25,9 +25,12 @@ jobs:
|
||||||
cat << EOF >> cl.md
|
cat << EOF >> cl.md
|
||||||
${{ steps.draft.outputs.body }}
|
${{ steps.draft.outputs.body }}
|
||||||
EOF
|
EOF
|
||||||
|
sed -i cl.md -e 's/^*/-/'
|
||||||
TAG="${{ steps.draft.outputs.tag_name }}"
|
TAG="${{ steps.draft.outputs.tag_name }}"
|
||||||
echo "VERSION=${TAG#v}" >> $GITHUB_ENV
|
echo "VERSION=${TAG#v}" >> $GITHUB_ENV
|
||||||
echo "CHANGELOG=`cat cl.md | grep '*'`" >> $GITHUB_ENV
|
echo "CHANGELOG<<EOF" >> $GITHUB_ENV
|
||||||
|
cat cl.md | grep '^-' >> $GITHUB_ENV
|
||||||
|
echo "EOF" >> $GITHUB_ENV
|
||||||
rm cl.md
|
rm cl.md
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
Loading…
Reference in a new issue