Skip to content

Commit

Permalink
CI: fix build (#1799)
Browse files Browse the repository at this point in the history
Only include the commit subject in the release body rather than the
entire message.
  • Loading branch information
jcm93 authored Jan 29, 2025
1 parent 6946437 commit c1949d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ jobs:
id: check
run: |
now=$(date +'%Y-%m-%d')
subject=$(git log -1 --pretty=%s)
if [[ ${GITHUB_REF_NAME} == master ]];
then
echo "tag=nightly" >> $GITHUB_OUTPUT
versionName="nightly ${now}"
echo "versionName=${versionName}" >> $GITHUB_OUTPUT
echo "description=${{ github.event.head_commit.message }}" >> $GITHUB_OUTPUT
echo "description=${subject}" >> $GITHUB_OUTPUT
else
echo "tag=${GITHUB_REF_NAME}" >> $GITHUB_OUTPUT
echo "versionName=${GITHUB_REF_NAME}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit c1949d8

Please sign in to comment.