Skip to content

Commit

Permalink
prepare for 5.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ad3n committed Jan 30, 2022
1 parent 71ee5a4 commit daf77a2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
1 change: 0 additions & 1 deletion lib/Controller/HealthController.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ public function __invoke(): Response
'semart' => [
'name' => 'Semart Api Skeleton',
'version' => [
'codename' => SemartApiSkeleton::CODENAME,
'alias' => SemartApiSkeleton::VERSION,
'number' => SemartApiSkeleton::getVersionNumber(),
],
Expand Down
1 change: 0 additions & 1 deletion lib/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ public function process(ContainerBuilder $container): void
'version' => $_SERVER['APP_VERSION'],
'media_prefix' => $_SERVER['APP_MEDIA_PREFIX'],
'semart_name' => 'Semart Api Skeleton',
'semart_codename' => SemartApiSkeleton::CODENAME,
'semart_version' => SemartApiSkeleton::VERSION,
]]);
}
Expand Down
8 changes: 3 additions & 5 deletions lib/SemartApiSkeleton.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,13 @@ final class SemartApiSkeleton

final public const USER_DEVICE_ID = 'USER_DEVICE_ID';

final public const CODENAME = 'Dodol Duren';

final public const VERSION = '5.8.7';
final public const VERSION = '5.9.0';

final public const VERSION_MAYOR = 50000;

final public const VERSION_MINOR = 800;
final public const VERSION_MINOR = 900;

final public const VERSION_PATCH = 7;
final public const VERSION_PATCH = 0;

public static function getVersionNumber(): int
{
Expand Down
2 changes: 1 addition & 1 deletion templates/layout/footer.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% set year = 2020 %}
<strong>Copyright &copy; {{ year ~ ' - ' ~ (date() | date('Y')) }}.</strong> All rights reserved.
<div class="float-right d-none d-sm-inline-block">
<strong>{{ sas.semart_name ~ '[' ~ sas.semart_codename ~ '@' ~ sas.semart_version ~ ']' }} by <a href="https://github.com/KejawenLab" target="_blank">KejawenLab</a></strong>
<strong>{{ sas.semart_name ~ '@' ~ sas.semart_version }} by <a href="https://github.com/KejawenLab" target="_blank">KejawenLab</a></strong>
</div>
</footer>
{% endapply %}

0 comments on commit daf77a2

Please sign in to comment.