Skip to content

Commit f93aa33

Browse files
authored
Migrate setup for release CI (#12)
1 parent 7624dea commit f93aa33

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

setup.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@
3333
* --------------------------------------------------------------------------
3434
*/
3535

36+
define('PLUGIN_PDF_VERSION', '3.0.0');
37+
define('PLUGIN_PDF_MIN_GLPI', '10.0.0');
38+
define('PLUGIN_PDF_MAX_GLPI', '10.0.99');
39+
3640
function plugin_init_pdf()
3741
{
3842
global $PLUGIN_HOOKS, $PDF_DEVICES;
@@ -104,15 +108,15 @@ function plugin_init_pdf()
104108
function plugin_version_pdf()
105109
{
106110
return ['name' => __('Print to pdf', 'pdf'),
107-
'version' => '3.0.0',
111+
'version' => PLUGIN_PDF_VERSION,
108112
'author' => 'Remi Collet, Nelly Mahu-Lasson, Teclib',
109113
'license' => 'GPLv3+',
110114
'homepage' => 'https://github.com/yllen/pdf',
111-
'minGlpiVersion' => '10.0.0',
115+
'minGlpiVersion' => PLUGIN_PDF_MIN_GLPI,
112116
'requirements' => [
113117
'glpi' => [
114-
'min' => '10.0.0',
115-
'max' => '10.0.99',
118+
'min' => PLUGIN_PDF_MIN_GLPI,
119+
'max' => PLUGIN_PDF_MAX_GLPI,
116120
],
117121
],
118122
];

0 commit comments

Comments
 (0)