Skip to content

A free open source IT asset/license management system

Clearer version in footer

snipee256bdc9f7b4
diff --git a/app/Console/Commands/Versioning.php b/app/Console/Commands/Versioning.php
index 84f124bb16..de0ac022ab 100644
--- a/app/Console/Commands/Versioning.php
+++ b/app/Console/Commands/Versioning.php
@@ -50,7 +50,7 @@ class Versioning extends Command
// discard the commit hash
$version = explode('-', $hash_version);
- $realVersion = $version[0] . '-' . $version[1];
+ $realVersion = $version[0];
// save the version array to a variable
$array = var_export(array('app_version' => $realVersion,'hash_version' => $hash_version), true);
diff --git a/config/version.php b/config/version.php
index 41c9d9c120..c64acbee6e 100644
--- a/config/version.php
+++ b/config/version.php
@@ -1,5 +1,5 @@
<?php
return array (
- 'app_version' => 'v3.0-12',
- 'hash_version' => 'v3.0-12-gb0dc5b4',
+ 'app_version' => 'v3.0',
+ 'hash_version' => 'v3.0-13-g2e6e0e8',
);
\ No newline at end of file
diff --git a/resources/views/layouts/default.blade.php b/resources/views/layouts/default.blade.php
index 910e02d1e9..3298b1bcfb 100644
--- a/resources/views/layouts/default.blade.php
+++ b/resources/views/layouts/default.blade.php
@@ -522,7 +522,7 @@
<footer class="main-footer">
<div class="pull-right hidden-xs">
- <b>Version</b> {{ config('version.app_version') }}
+ <b>Version</b> {{ config('version.hash_version') }}
<a target="_blank" class="btn btn-default btn-xs" href="https://snipe-it.readme.io">Documentation</a>
<a target="_blank" class="btn btn-default btn-xs" href="https://snipe-it-manual.readme.io">User's Manual</a>
<a target="_blank" class="btn btn-default btn-xs" href="https://snipeitapp.com/support/">Report a Bug</a>