Skip to content

Commit

Permalink
chore(ci): patch release note write
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobmoellerdev committed Jan 9, 2025
1 parent 8170fe0 commit cb3282c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,16 @@ jobs:
-q '.[] | select(.name == "${{ env.RELEASE_VERSION_NO_SUFFIX }}" and .draft == true) | .body' \
| base64 \
)
echo "release_notes_body_base64=${RELEASE_BODY_BASE64}" >> $GITHUB_OUTPUT
# if no draft release notes are found, we cannot continue
if [ -z "${RELEASE_BODY_BASE64}" ]; then
echo "No draft release notes found for ${{ env.RELEASE_VERSION_NO_SUFFIX }}"
exit 1
fi
{
echo 'release_notes_body_base64<<EOF;'
echo ${RELEASE_BODY_BASE64}
echo 'EOF;'
} >> $GITHUB_OUTPUT
components:
name: Component CTF Builds
uses: ./.github/workflows/components.yaml
Expand Down

0 comments on commit cb3282c

Please sign in to comment.