Fix getting version from temporary files in GH action
[MAILPOET-6097]
This commit is contained in:
@@ -4,7 +4,7 @@ require_once __DIR__ . '/helpers.php';
|
||||
|
||||
$downloadCommand = 'download:woo-commerce-zip';
|
||||
$configParameterName = 'woo_core_version';
|
||||
$versionsFilename = 'woocommerce_versions.txt';
|
||||
$versionsFilenameSuffix = 'woocommerce_version.txt';
|
||||
|
||||
/**
|
||||
* We get the official WooCommerce versions from the WordPress API.
|
||||
@@ -42,4 +42,4 @@ if ($previousVersion) {
|
||||
echo "No previous version found.\n";
|
||||
}
|
||||
|
||||
saveVersionsToFile($latestVersion, $previousVersion, $versionsFilename);
|
||||
saveVersionsToFiles($latestVersion, $previousVersion, $versionsFilenameSuffix);
|
||||
|
Reference in New Issue
Block a user