File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff 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 : |
You can’t perform that action at this time.
0 commit comments