Skip to content

Commit 46b12a5

Browse files
committed
Fix GitHub Actions workflow - Add debugging output for version updates
1 parent 4820a91 commit 46b12a5

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/build-zip.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,18 @@ jobs:
3838
3939
- name: Update version in plugin header
4040
run: |
41-
# Update version in plugin header
41+
echo "Updating version to: $VERSION"
42+
# Update version in plugin header - more flexible pattern
4243
sed -i "s/Version: [0-9]*\.[0-9]*\.[0-9]*/Version: $VERSION/" siteorigin-installer.php
44+
echo "Updated plugin header:"
45+
grep "Version:" siteorigin-installer.php
4346
4447
- name: Update version in plugin file
4548
run: |
46-
# Update version constant
49+
# Update version constant - more flexible pattern
4750
sed -i "s/define( 'SITEORIGIN_INSTALLER_VERSION', '[0-9]*\.[0-9]*\.[0-9]*' );/define( 'SITEORIGIN_INSTALLER_VERSION', '$VERSION' );/" siteorigin-installer.php
51+
echo "Updated version constant:"
52+
grep "SITEORIGIN_INSTALLER_VERSION" siteorigin-installer.php
4853
4954
- name: Create build directory
5055
run: |

0 commit comments

Comments
 (0)