Skip to content

Commit

Permalink
[Hotfix] v0.14.2-beta2 (#1014)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjustesen authored Dec 23, 2023
1 parent b8b8ed8 commit 49008d0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/Services/SystemChecker.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ public function getVersions(): self

public function getLocalVersion()
{
return cache()->remember($this->cacheKeyLocal, now()->addDay(), function () {
return shell_exec('git describe --tag --abbrev=0');
});
return config('speedtest.build_version');
}

public function getRemoteVersion()
Expand All @@ -42,7 +40,7 @@ public function isOutOfDate()
{
$this->getVersions();

return $this->localVersion < $this->remoteVersion || $this->localVersion != $this->remoteVersion;
return 'v'.$this->localVersion != $this->remoteVersion;
}

public function flushVersionData()
Expand Down
7 changes: 7 additions & 0 deletions config/speedtest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
use Carbon\Carbon;

return [
/**
* Build information
*/
'build_date' => Carbon::parse('2023-12-23'),

'build_version' => '0.14.2-beta2',

/**
* General
*/
Expand Down

0 comments on commit 49008d0

Please sign in to comment.