File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,7 @@ public function getVersions(): self
2626
2727 public function getLocalVersion ()
2828 {
29- return cache ()->remember ($ this ->cacheKeyLocal , now ()->addDay (), function () {
30- return shell_exec ('git describe --tag --abbrev=0 ' );
31- });
29+ return config ('speedtest.build_version ' );
3230 }
3331
3432 public function getRemoteVersion ()
@@ -42,7 +40,7 @@ public function isOutOfDate()
4240 {
4341 $ this ->getVersions ();
4442
45- return $ this -> localVersion < $ this -> remoteVersion || $ this ->localVersion != $ this ->remoteVersion ;
43+ return ' v ' . $ this ->localVersion != $ this ->remoteVersion ;
4644 }
4745
4846 public function flushVersionData ()
Original file line number Diff line number Diff line change 33use Carbon \Carbon ;
44
55return [
6+ /**
7+ * Build information
8+ */
9+ 'build_date ' => Carbon::parse ('2023-12-23 ' ),
10+
11+ 'build_version ' => '0.14.2-beta2 ' ,
12+
613 /**
714 * General
815 */
You can’t perform that action at this time.
0 commit comments