Skip to content

Commit 2f0e44f

Browse files
committed
Bump version
Use constant for plugin version
1 parent 809b055 commit 2f0e44f

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

plugin.xml

+6
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ Il existe un [script de migration](https://github.com/pluginsGLPI/customfields/b
7272
<author>Johan Cwiklinski</author>
7373
</authors>
7474
<versions>
75+
<version>
76+
<num>1.3.1</num>
77+
<compatibility>9.1</compatibility>
78+
<compatibility>0.90</compatibility>
79+
<compatibility>0.85</compatibility>
80+
</version>
7581
<version>
7682
<num>0.90-1.3</num>
7783
<compatibility>9.1</compatibility>

setup.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
--------------------------------------------------------------------------
2828
*/
2929

30+
define ('PLUGIN_FIELDS_VERSION', '1.3.1');
3031

3132
if (!defined("PLUGINFIELDS_DIR")) {
3233
define("PLUGINFIELDS_DIR", GLPI_ROOT . "/plugins/fields");
@@ -141,7 +142,7 @@ function plugin_init_fields() {
141142
// Get the name and the version of the plugin - Needed
142143
function plugin_version_fields() {
143144
return array ('name' => __("Additionnal fields", "fields"),
144-
'version' => '0.90-1.3',
145+
'version' => PLUGIN_FIELDS_VERSION,
145146
'author' => 'Teclib\', Olivier Moron',
146147
'homepage' => 'teclib.com',
147148
'license' => 'GPLv2+',

0 commit comments

Comments
 (0)