Skip to content

Commit 9279bac

Browse files
authored
Merge pull request #563 from maxmind/greg/eng-3315
Release 4.0.0
2 parents db13519 + 7d0c939 commit 9279bac

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CHANGELOG
22
=========
33

4-
4.0.0
4+
4.0.0 (2025-11-20)
55
------------------
66

77
* BREAKING: Removed deprecated `TransactionReport.Builder(InetAddress, Tag)`

dev-bin/release.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
set -eu -o pipefail
44

5+
# Check that we're not on the main branch
6+
current_branch=$(git branch --show-current)
7+
if [ "$current_branch" = "main" ]; then
8+
echo "Error: Releases should not be done directly on the main branch."
9+
echo "Please create a release branch and run this script from there."
10+
exit 1
11+
fi
12+
513
changelog=$(cat CHANGELOG.md)
614

715
regex='

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
<dependency>
7474
<groupId>com.maxmind.geoip2</groupId>
7575
<artifactId>geoip2</artifactId>
76-
<version>5.0.0-SNAPSHOT</version>
76+
<version>5.0.0</version>
7777
</dependency>
7878
<dependency>
7979
<groupId>org.junit.jupiter</groupId>

0 commit comments

Comments
 (0)