Skip to content

Commit 3c36694

Browse files
committed
fix: FTRS-1667 Add Git tag input to multiple workflows for enhanced artefact management
1 parent 2ef2b24 commit 3c36694

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/promote-artefacts.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,12 @@ jobs:
7676
id: release_notes
7777
run: |
7878
git fetch origin main
79-
echo "notes<<EOF" >> $GITHUB_OUTPUT
80-
git log --pretty=format:"- %h %s" origin/main...HEAD >> $GITHUB_OUTPUT
81-
echo "EOF" >> $GITHUB_OUTPUT
79+
git log --pretty=format:"- %h %s" origin/main...HEAD > release_notes.txt
80+
{
81+
echo "notes<<EOF"
82+
cat release_notes.txt
83+
echo "EOF"
84+
} >> "$GITHUB_OUTPUT"
8285
8386
- name: "Create GitHub Release"
8487
if: ${{ inputs.artefact_promotion_type == 'release' }}

0 commit comments

Comments
 (0)