Skip to content

Commit a0c4c19

Browse files
committed
Tweaks.
1 parent 3428c7f commit a0c4c19

File tree

3 files changed

+21
-9
lines changed

3 files changed

+21
-9
lines changed

publishing/Commands.txt

Lines changed: 0 additions & 9 deletions
This file was deleted.

publishing/PUBLISHING.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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
-197 KB
Binary file not shown.

0 commit comments

Comments
 (0)