Skip to content

Commit ab01f30

Browse files
authored
Merge pull request #632 from maxmind/greg/eng-3318
Release 5.0.0
2 parents 64d2821 + 0f497b3 commit ab01f30

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

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-
5.0.0
4+
5.0.0 (2025-11-20)
55
------------------
66

77
* **BREAKING:** All model and record classes have been converted to Java records.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ To do this, add the dependency to your pom.xml:
1717
<dependency>
1818
<groupId>com.maxmind.geoip2</groupId>
1919
<artifactId>geoip2</artifactId>
20-
<version>4.4.0</version>
20+
<version>5.0.0</version>
2121
</dependency>
2222
```
2323

@@ -30,7 +30,7 @@ repositories {
3030
mavenCentral()
3131
}
3232
dependencies {
33-
compile 'com.maxmind.geoip2:geoip2:4.4.0'
33+
compile 'com.maxmind.geoip2:geoip2:5.0.0'
3434
}
3535
```
3636

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
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.maxmind.geoip2</groupId>
55
<artifactId>geoip2</artifactId>
6-
<version>5.0.0-SNAPSHOT</version>
6+
<version>5.0.0</version>
77
<packaging>jar</packaging>
88
<name>MaxMind GeoIP2 API</name>
99
<description>GeoIP2 webservice client and database reader</description>

0 commit comments

Comments
 (0)