Skip to content

Commit df5f6b1

Browse files
committed
better message with link to pr
1 parent 4adf95a commit df5f6b1

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/generateRelease.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,13 @@ jobs:
4545
cd "${{ env.src_prefix }}/Radium-Engine"
4646
from=`gh release list --exclude-drafts --exclude-pre-releases -L1 --json publishedAt | jq -r '.[] | .publishedAt '`
4747
cd "${{ github.workspace }}"
48-
echo "Release Changelog" >./message.txt
49-
git -C ${{ env.src_prefix }}/Radium-Engine/ log --since="$from" --pretty=format:"- %h %ad %s" --date=short | grep Merge >> ./message.txt
48+
echo "Radium Engine Changelog" >./message.txt
49+
git -C ${{ env.src_prefix }}/Radium-Engine/ log --since="$from" --pretty=format:"- %ad %s" --date=short | grep Merge | sed 's|#|https://github.com/STORM-IRIT/Radium-Engine/pull/|' >> ./message.txt
50+
51+
git clone https://github.com/STORM-IRIT/Radium-Apps.git --branch master --single-branch ${{ env.src_prefix }}/Radium-Apps
52+
echo ""
53+
echo "Radium Apps Changelog" >> ./message.txt
54+
git -C ${{ env.src_prefix }}/Radium-Apps/ log --since="$from" --pretty=format:"- %ad %s" --date=short | grep Merge | sed 's|#|https://github.com/STORM-IRIT/Radium-Apps/pull/|' >> ./message.txt
5055
- name: Upload message
5156
uses: actions/upload-artifact@v4
5257
with:
@@ -176,7 +181,6 @@ jobs:
176181
path: dist
177182
- name: Print debug info for PR
178183
run: |
179-
ls -R
180184
echo "Debug informations for PR"
181185
echo "tag_name: ${{needs.message.outputs.TAG_NAME}}"
182186
echo "name: ${{needs.message.outputs.RELEASE_NAME}}"

0 commit comments

Comments
 (0)