Skip to content

Commit 37474e7

Browse files
ops(KDP): fixing release
1 parent cae2785 commit 37474e7

File tree

1 file changed

+6
-5
lines changed
  • .github/templates/github/semantic_release

1 file changed

+6
-5
lines changed

.github/templates/github/semantic_release/action.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,12 @@ runs:
155155
id: export-released-notes
156156
shell: bash
157157
run: |
158-
if [ "${{ steps.semantic-release.outputs.new_release_notes }}" != "" ]; then
159-
echo "Release notes captured successfully"
160-
else
161-
echo "No release notes available"
162-
fi
158+
# Just echo the success status - no need to parse the notes again
159+
# since they're already captured in the semantic-release step
160+
echo "Release notes already captured in previous step"
161+
162+
# Set the output to match the expected structure
163+
echo "new_release_notes=Release notes available in CHANGELOG.md" >> $GITHUB_OUTPUT
163164
164165
- name: "Release summary"
165166
if: steps.semantic-release.outputs.new_release_published == 'true'

0 commit comments

Comments
 (0)