From 1472123e4d87740f91adea20d0b2caadcaa1e6cd Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Fri, 6 Sep 2024 10:44:58 -0700 Subject: [PATCH 1/3] Set release date --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 From 809403b264a321726eddbf2848f56801a8d0898f Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Fri, 6 Sep 2024 10:46:06 -0700 Subject: [PATCH 2/3] Handle prereleases --- dev-bin/release.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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!" From 5274e8586b2c2a4941160800b34d5cbdcc89b98e Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Fri, 6 Sep 2024 10:46:28 -0700 Subject: [PATCH 3/3] Update for v3.2.0-beta.1 --- src/MinFraud/ServiceClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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