Skip to content

Commit cebee9b

Browse files
Commit
1 parent 2fd8caf commit cebee9b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/check-for-updates.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ jobs:
8989
9090
echo "TZDATA_VERSION='$TZDATA_VERSION'" >> $GITHUB_ENV
9191
{
92-
echo 'TZDATA_NEWS<<EOF'
93-
cat "$news_files"
92+
echo "TZDATA_NEWS<<EOF"
93+
echo "$TZDATA_NEWS"
9494
echo EOF
9595
} >> "$GITHUB_ENV"
9696
@@ -100,7 +100,7 @@ jobs:
100100
run: |
101101
git checkout -b "updates/update_${TZDATA_VERSION}"
102102
git commit -m "Update tzdata to version $TZDATA_VERSION" \
103-
-m "$(cat $news_files)"
103+
-m "$TZDATA_NEWS"
104104
git push --force origin "updates/update_${TZDATA_VERSION}"
105105
106106
- name: Create pull request
@@ -109,7 +109,7 @@ jobs:
109109
if: env.CHANGES_DETECTED == 'true'
110110
run: |
111111
gh pr create --title "Update tzdata to version $TZDATA_VERSION" \
112-
--body "$(cat $news_files)" \
112+
--body "$TZDATA_NEWS" \
113113
--base master \
114114
--head $(git rev-parse --abbrev-ref HEAD) \
115115
--label "automatic-updates"

0 commit comments

Comments
 (0)