Skip to content

Commit

Permalink
Merge pull request #104 from maxmind/greg/release
Browse files Browse the repository at this point in the history
Release 2.7.0.beta1
  • Loading branch information
ugexe authored Sep 6, 2024
2 parents ea5d930 + a2f446a commit 9287b1b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## v2.7.0-beta.1
## v2.7.0.beta1 (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 @@ -5,7 +5,7 @@ set -eu -o pipefail
changelog=$(cat CHANGELOG.md)

regex='
## v([0-9]+\.[0-9]+\.[0-9]+) \(([0-9]{4}-[0-9]{2}-[0-9]{2})\)
## v([0-9]+\.[0-9]+\.[0-9]+(.[a-z0-9]+)?) \(([0-9]{4}-[0-9]{2}-[0-9]{2})\)
((.|
)*)
Expand All @@ -17,8 +17,8 @@ if [[ ! $changelog =~ $regex ]]; then
fi

version="${BASH_REMATCH[1]}"
date="${BASH_REMATCH[2]}"
notes="$(echo "${BASH_REMATCH[3]}" | sed -n -E '/^## v[0-9]+\.[0-9]+\.[0-9]+/,$!p')"
date="${BASH_REMATCH[3]}"
notes="$(echo "${BASH_REMATCH[4]}" | sed -n -E '/^## v[0-9]+\.[0-9]+\.[0-9]+/,$!p')"

echo "$notes"
if [[ "$date" != "$(date +"%Y-%m-%d")" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion lib/minfraud/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

module Minfraud
# The Gem version.
VERSION = '2.6.0'
VERSION = '2.7.0.beta1'
end

0 comments on commit 9287b1b

Please sign in to comment.