Skip to content

Commit b2f73cc

Browse files
authored
Merge pull request #24 from codeboxrcodehub/dev
workflow fixed
2 parents ef3f2d1 + e5712f7 commit b2f73cc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
continue
4747
fi
4848
49-
if [[ $in_changelog -eq 1 && $(echo "$line" | grep -E '^==') ]]; then
49+
if [[ $in_changelog -eq 1 && "$line" =~ ^== ]]; then
5050
break
5151
fi
5252
@@ -60,7 +60,8 @@ jobs:
6060
exit 1
6161
fi
6262
63-
echo "RELEASE_NOTES=$release_notes" >> $GITHUB_ENV
63+
# Use printf to handle newlines correctly
64+
echo -e "RELEASE_NOTES=$release_notes" >> $GITHUB_ENV
6465
source $GITHUB_ENV # Ensure the environment variable is available for subsequent steps
6566
6667
- name: Create zip file

0 commit comments

Comments
 (0)