Skip to content

Commit

Permalink
try fix gha 2
Browse files Browse the repository at this point in the history
  • Loading branch information
brachy84 committed Dec 8, 2023
1 parent 25ca63e commit 798456a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
RELEASE_URL="https://api.github.com/repos/${{ github.repository }}/releases/tags/v${{ inputs.version }}"
RELEASE_JSON=$(curl -sSL $RELEASE_URL)
CHANGELOG=$RELEASE_JSON | jq -r '.body'
if [ $CHANGELOG == "null" ]; then
if [ "$CHANGELOG" == "null" ]; then
echo "No changelog found" > build/changelog.md
else
echo "$CHANGELOG" > build/changelog.md
Expand Down

0 comments on commit 798456a

Please sign in to comment.