Skip to content

Commit

Permalink
Merge pull request #181 from maxmind/greg/release
Browse files Browse the repository at this point in the history
Release 3.2.0-beta.1
  • Loading branch information
ugexe authored Sep 6, 2024
2 parents 7f497a5 + 5274e85 commit 2da7473
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions dev-bin/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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})\)
-*
((.|
Expand All @@ -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!"
Expand Down
2 changes: 1 addition & 1 deletion src/MinFraud/ServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

abstract class ServiceClient
{
public const VERSION = 'v3.1.0';
public const VERSION = 'v3.2.0-beta.1';

/**
* @var Client
Expand Down

0 comments on commit 2da7473

Please sign in to comment.