Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
phip1611 committed Dec 13, 2021
1 parent 789283c commit 91d3f83
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.0.5
Removed log4j. Not necessary. Thanks for the [PR](https://github.com/phip1611/docx4j-search-and-replace-util/pull/8)!
Release is on Maven Central but 1.0.4 not because some unknown error happened during release.

# 1.0.4
Fix critical log4j vulnerability + minor dep upgrades.

Expand Down
11 changes: 4 additions & 7 deletions publish_to_maven_central.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@ Release to maven consists of two steps:
1) artifact is pushed to https://oss.sonatype.org/#nexus-search;quick~phip1611
2) they push it further to maven central

Only snapshot versions can be released!
Current POM must contain a snapshot versions for a release!
https://stackoverflow.com/questions/20054185/you-dont-have-a-snapshot-project-in-the-reactor-projects-list-when-using-jen
-> replacement is automatically done during "mvn release:prepare"
-> replacement to next release-version is automatically done during "mvn release:prepare"

Maven doesn't care about branches. Release can be done from "dev" branch.
I think this is also the way to go because the version has to be "x.y.z-SNAPSHOT".
After the release the branch can be merged into master.... or merge to master
first and release then.
Maven doesn't care about branches. Release can be done from "any" branch.


---
Expand All @@ -34,7 +31,7 @@ first and release then.
</servers>
</settings>
```
3) (ONCE; COPY KEY TO OTHER MACHINES AND ADD IT TO GPG) I created a gpg key on my Mac (don't forget to backup it!) (public ID):
3) (ONCE; COPY KEY TO OTHER MACHINES AND ADD IT TO GPG) I created a gpg key on my Mac (don't forget to bac it up!) public ID:
```
pub rsa3072 2020-09-17 [SC]
389BB8340DA168D0
Expand Down

0 comments on commit 91d3f83

Please sign in to comment.