diff --git a/CHANGELOG.md b/CHANGELOG.md index 1973860..f7960a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,8 @@ CHANGELOG ========= -3.2.0-beta.1 ------------------- +3.2.0-beta.1 (2024-09-06) +------------------------- * Added support for the new risk reasons outputs in minFraud Factors. The risk reasons output codes and reasons are currently in beta and are subject to diff --git a/dev-bin/release.sh b/dev-bin/release.sh index 3db30d0..0e454a1 100755 --- a/dev-bin/release.sh +++ b/dev-bin/release.sh @@ -7,7 +7,7 @@ phar='minfraud.phar' changelog=$(cat CHANGELOG.md) regex=' -([0-9]+\.[0-9]+\.[0-9]+) \(([0-9]{4}-[0-9]{2}-[0-9]{2})\) +([0-9]+\.[0-9]+\.[0-9]+(-[^ ]+)?) \(([0-9]{4}-[0-9]{2}-[0-9]{2})\) -* ((.| @@ -20,8 +20,8 @@ if [[ ! $changelog =~ $regex ]]; then fi version="${BASH_REMATCH[1]}" -date="${BASH_REMATCH[2]}" -notes="$(echo "${BASH_REMATCH[3]}" | sed -n -E '/^[0-9]+\.[0-9]+\.[0-9]+/,$!p')" +date="${BASH_REMATCH[3]}" +notes="$(echo "${BASH_REMATCH[4]}" | sed -n -E '/^[0-9]+\.[0-9]+\.[0-9]+/,$!p')" if [[ "$date" != $(date +"%Y-%m-%d") ]]; then echo "$date is not today!" diff --git a/src/MinFraud/ServiceClient.php b/src/MinFraud/ServiceClient.php index c4976c5..d24af3f 100644 --- a/src/MinFraud/ServiceClient.php +++ b/src/MinFraud/ServiceClient.php @@ -9,7 +9,7 @@ abstract class ServiceClient { - public const VERSION = 'v3.1.0'; + public const VERSION = 'v3.2.0-beta.1'; /** * @var Client