Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
Use constant for plugin version
  • Loading branch information
trasher committed Oct 25, 2016
1 parent 809b055 commit 2f0e44f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ Il existe un [script de migration](https://github.com/pluginsGLPI/customfields/b
<author>Johan Cwiklinski</author>
</authors>
<versions>
<version>
<num>1.3.1</num>
<compatibility>9.1</compatibility>
<compatibility>0.90</compatibility>
<compatibility>0.85</compatibility>
</version>
<version>
<num>0.90-1.3</num>
<compatibility>9.1</compatibility>
Expand Down
3 changes: 2 additions & 1 deletion setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
--------------------------------------------------------------------------
*/

define ('PLUGIN_FIELDS_VERSION', '1.3.1');

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

0 comments on commit 2f0e44f

Please sign in to comment.