Add type declarations to function in GH Action update scripts

This commit also fixes some bugs with function redeclaration and missing parameters.
[MAILPOET-6097]
This commit is contained in:
Jan Lysý
2024-06-21 12:14:36 +02:00
committed by Rostislav Wolný
parent 3989594a56
commit 0d794b3b2f
4 changed files with 32 additions and 40 deletions

View File

@@ -7,4 +7,4 @@ $downloadCommand = 'download:woo-commerce-memberships-zip';
$configParameterName = 'woo_memberships_version';
$versionsFilename = 'woocommerce_memberships_versions.txt';
replacePrivatePluginVersion($repository, $downloadCommand, $configParameterName);
replacePrivatePluginVersion($repository, $downloadCommand, $configParameterName, $versionsFilename);