Skip to content

Commit 2632d1f

Browse files
authored
Merge pull request #128 from maxmind/greg/eng-3321
Release 1.4.0
2 parents 8662159 + 7e90ed4 commit 2632d1f

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## 1.4.0
3+
## 1.4.0 (2025-11-20)
44

55
* Ruby 3.2+ is now required. If you're using Ruby 3.0 or 3.1, please use
66
version 1.3.2 of this gem.

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='

maxmind-db.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Gem::Specification.new do |s|
55
s.files = Dir['**/*'].difference(Dir['.github/**/*', 'dev-bin/**/*', 'test/**/*'])
66
s.name = 'maxmind-db'
77
s.summary = 'A gem for reading MaxMind DB files.'
8-
s.version = '1.3.2'
8+
s.version = '1.4.0'
99

1010
s.description = 'A gem for reading MaxMind DB files. MaxMind DB is a binary file format that stores data indexed by IP address subnets (IPv4 or IPv6).'
1111
s.email = '[email protected]'

0 commit comments

Comments
 (0)