File tree Expand file tree Collapse file tree 3 files changed +21
-9
lines changed Expand file tree Collapse file tree 3 files changed +21
-9
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ Search for all instances of the old version (like ` 1.0.0 ` ) in the project and change them.</br >
2+ Also change ` java-string-compressor-<VERSION>.pom ` file name.
3+ ```
4+ ./gradlew clean build
5+ ```
6+ The 4 needed artifacts will be placed at ` build/libs ` . Navigate there and execute:
7+ ```
8+ gpg --armor --detach-sign --output java-string-compressor-<VERSION>.jar.asc java-string-compressor-<VERSION>.jar
9+ gpg --armor --detach-sign --output java-string-compressor-<VERSION>-sources.jar.asc java-string-compressor-<VERSION>-sources.jar
10+ gpg --armor --detach-sign --output java-string-compressor-<VERSION>-javadoc.jar.asc java-string-compressor-<VERSION>-javadoc.jar
11+ gpg --armor --detach-sign --output java-string-compressor-<VERSION>.pom.asc java-string-compressor-<VERSION>.pom
12+
13+ for f in *.jar *.pom; do
14+ md5sum "$f" | awk '{print $1}' > "$f.md5"
15+ sha1sum "$f" | awk '{print $1}' > "$f.sha1"
16+ done
17+ ```
18+ Copy all generated files to ` io/github/dannemann/java-string-compressor/<VERSION>/ ` and compress it.</br >
19+ Name it: ` java-string-compressor-<VERSION>.zip `
20+
21+ Publish at: https://central.sonatype.com/publishing
You can’t perform that action at this time.
0 commit comments