File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed
Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,16 @@ current_version = 6.1.0
33commit = True
44tag = True
55tag_name = v{new_version}
6- parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-SNAPSHOT)?
7- serialize =
8- {major}.{minor}.{patch}-SNAPSHOT
6+
7+ parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
8+
9+ serialize =
10+ {major}.{minor}.{patch}
911
1012[bumpversion:file:pom.xml]
1113search = <version>{current_version}</version>
1214replace = <version>{new_version}</version>
15+
16+ [bumpversion:file:./pom.xml]
17+ search = <tag>v{current_version}</tag>
18+ replace = <tag>v{new_version}</tag>
Original file line number Diff line number Diff line change 3030
3131 - [ ] verify that `~/.m2/settings.xml` exists (https://central.sonatype.org/publish/publish-portal-maven/#credentials)
3232 - contains user token credentials from https://central.sonatype.com/ (generate token at https://central.sonatype.org/publish/generate-portal-token/)
33- - [ ] Set release version: `bump2version --new-version 6.0.1 release --dry-run --verbose`
33+ - [ ] Set release version: `bump2version patch --dry-run --verbose`
3434 - [ ] Push changes and tag: `git push origin master --follow-tags`
3535 - [ ] wait for github actions to pass
3636 - [ ] `mvn clean deploy -Pgpg`
Original file line number Diff line number Diff line change 1010 <groupId >io.github.git-commit-id</groupId >
1111 <artifactId >git-commit-id-plugin-core</artifactId >
1212 <packaging >jar</packaging >
13- <version >6.1.0-SNAPSHOT </version >
13+ <version >6.1.0</version >
1414 <name >Git Commit Id Plugin Core</name >
1515 <url >https://github.com/git-commit-id/git-commit-id-plugin-core</url >
1616
2525 <url >git@github.com:git-commit-id/git-commit-id-plugin-core.git</url >
2626 <connection >scm:git@github.com:git-commit-id/git-commit-id-plugin-core</connection >
2727 <developerConnection >scm:git:git@github.com:git-commit-id/git-commit-id-plugin-core.git</developerConnection >
28- <tag >v6.0 .0</tag >
28+ <tag >v6.1 .0</tag >
2929 </scm >
3030
3131 <properties >
You can’t perform that action at this time.
0 commit comments