Skip to content

Commit

Permalink
Update for v2
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Mar 20, 2023
1 parent b792dec commit 0ad8d63
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
preview:
php -S 0.0.0.0:8000

deploy:
cdk deploy --method=direct
2 changes: 0 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,5 @@ function listVersions(): array
// Sorting is needed as minor/patch releases can be published after major/minor releases
$versions = \Composer\Semver\Semver::rsort($versions);

array_unshift($versions, 'v2');

return $versions;
}
3 changes: 1 addition & 2 deletions templates/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@
{% for version in versions %}
<option value="{{ version }}" {% if version == selectedVersion %}selected{% endif %}>
{{ version }}
{% if loop.index == 1 %} (beta){% endif %}
{% if loop.index == 2 %} (latest){% endif %}
{% if loop.index == 1 %} (latest){% endif %}
</option>
{% endfor %}
</select>
Expand Down

0 comments on commit 0ad8d63

Please sign in to comment.