Skip to content

Commit 0222d81

Browse files
committed
workflow fixed
1 parent 54f959e commit 0222d81

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,9 @@ jobs:
5151
continue
5252
fi
5353
54-
# Stop if another version header is encountered
55-
if [[ $in_changelog -eq 1 && "$line" =~ ^=[[:space:]] ]]; then
56-
if [[ "$line" != "=${plugin_version} ="* ]]; then
57-
break
58-
fi
54+
# Stop if another version header is encountered, but continue if it's the current version
55+
if [[ $in_changelog -eq 1 && "$line" =~ ^=[[:space:]] && "$line" != "= ${plugin_version} ="* ]]; then
56+
break
5957
fi
6058
6159
# Append the relevant lines for the latest changelog
@@ -72,7 +70,7 @@ jobs:
7270
# Write the release notes with actual line breaks
7371
echo "RELEASE_NOTES<<EOF" >> $GITHUB_ENV
7472
echo -e "$release_notes" >> $GITHUB_ENV
75-
echo "EOF" >> $GITHUB_ENV
73+
echo "EOF" >> $GITHUB_ENV
7674
7775

7876
- name: Create zip file

readme.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ if ( defined('CBXPHPSPREADSHEET_PLUGIN_NAME') && cbxphpspreadsheet_loadable() )
5252

5353

5454
== Changelog ==
55-
5655
= 1.0.9 =
5756
* Fixed function 'php_version_check'
5857

0 commit comments

Comments
 (0)