Prepare meta files for pre-release of v5

This commit is contained in:
Simon Wisselink
2023-08-08 00:08:13 +02:00
parent 8fd949ac5d
commit 949f3185c4
2 changed files with 5 additions and 5 deletions

View File

@ -2,13 +2,13 @@
## Supported Versions
Smarty currently supports the latest minor version of Smarty 3 and Smarty 4.
Smarty currently supports the latest minor version of Smarty 4 and Smarty 5.
| Version | Supported |
|---------|--------------------|
| 5.0.x | :white_check_mark: |
| 4.3.x | :white_check_mark: |
| 3.1.x | :white_check_mark: |
| < 3.1 | :x: |
| < 4.3 | :x: |
## Reporting a Vulnerability

View File

@ -1,9 +1,9 @@
#!/bin/bash
if [[ "$1" =~ ^4\.[0-9\.-rc]+$ ]]; then
if [[ "$1" =~ ^5\.[0-9\.-rc]+$ ]]; then
printf 'Creating release %s\n' "$1"
else
echo "Invalid version number: $1. This script can only make v4.x.x releases."
echo "Invalid version number: $1. This script can only make v5.x.x releases."
exit 1;
fi