Skip to content

Commit 6f26425

Browse files
authored
Merge pull request #191 from maxmind/pcronin/release
Release 1.18.0
2 parents 212d896 + d02d382 commit 6f26425

5 files changed

Lines changed: 29 additions & 7 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-
1.18.0
4+
1.18.0 (2021-08-31)
55
-------------------
66

77
* The following payment processors were added to the `Payment.Processor` enum:

README.dev.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,17 @@ Put this information into `~/.m2/settings.xml` (Maven settings). Your
4747
<username>git</username>
4848
</server>
4949
</servers>
50+
<profiles>
51+
<profile>
52+
<id>my_profile_id</id>
53+
<activation>
54+
<activeByDefault>true</activeByDefault>
55+
</activation>
56+
<properties>
57+
<gpg.keyname><!-- The GPG ID of your publishing key --></gpg.keyname>
58+
</properties>
59+
</profile>
60+
</profiles>
5061
</settings>
5162

5263
Some links about Sonatype:
@@ -56,6 +67,12 @@ Some links about Sonatype:
5667
* http://central.sonatype.org/pages/apache-maven.html
5768

5869

70+
See the following documentation for details on specifying which gpg to use for
71+
publishing in your local settings.xml:
72+
73+
* https://central.sonatype.org/publish/requirements/gpg/
74+
* https://maven.apache.org/plugins/maven-gpg-plugin/usage.html
75+
5976
## Setting up GPG
6077
You need a key. It is fine to create/use your own, but you'll probably want
6178
one with your MaxMind email address.
@@ -96,9 +113,10 @@ Add this to ~/.gnupg/gpg-agent.conf:
96113
## Steps
97114
- Ensure you can run `mvn test` and `mvn package` successfully. Run
98115
`mvn clean` after.
99-
- Ensure you have a clean checkout of `main` and that the subdirectory
100-
`.gh-pages` either does not exist or is a clean checkout.
116+
- Create a release branch off `main`. Ensure you have a clean checkout and that
117+
the subdirectory `.gh-pages` either does not exist or is a clean checkout.
101118
- We'll be generating commits.
119+
- When the release is complete, you should deliver the release PR for review.
102120
- Review open issues and PRs to see if any can easily be fixed, closed, or
103121
merged.
104122
- Review `CHANGELOG.md` for completeness and correctness.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To do this, add the dependency to your pom.xml:
1616
<dependency>
1717
<groupId>com.maxmind.minfraud</groupId>
1818
<artifactId>minfraud</artifactId>
19-
<version>1.17.0</version>
19+
<version>1.18.0</version>
2020
</dependency>
2121
```
2222

@@ -29,7 +29,7 @@ repositories {
2929
mavenCentral()
3030
}
3131
dependencies {
32-
compile 'com.maxmind.minfraud:minfraud:1.17.0'
32+
compile 'com.maxmind.minfraud:minfraud:1.18.0'
3333
}
3434
```
3535

dev-bin/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fi
1919

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

2424
if [[ "$date" != $(date +"%Y-%m-%d") ]]; then
2525
echo "$date is not today!"

pom.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.maxmind.minfraud</groupId>
66
<artifactId>minfraud</artifactId>
7-
<version>1.17.1-SNAPSHOT</version>
7+
<version>1.18.1-SNAPSHOT</version>
88
<name>MaxMind minFraud Score, Insights, Factors and Report Transaction API</name>
99
<description>MaxMind minFraud Score, Insights, Factors and Report Transaction API</description>
1010
<url>http://dev.maxmind.com/minfraud</url>
@@ -174,6 +174,10 @@
174174
<goals>
175175
<goal>sign</goal>
176176
</goals>
177+
<configuration>
178+
<keyname>${gpg.keyname}</keyname>
179+
<passphraseServerId>${gpg.keyname}</passphraseServerId>
180+
</configuration>
177181
</execution>
178182
</executions>
179183
</plugin>

0 commit comments

Comments
 (0)