From 976be2cf491d56ef600045f6d8033264686af570 Mon Sep 17 00:00:00 2001 From: Peter Verhas Date: Wed, 16 Sep 2020 05:12:39 +0200 Subject: [PATCH] new version with bouncy castle dependency updated --- pom.xml | 10 ++++++++-- release.sh | 19 +++++++++++++++++++ 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 release.sh diff --git a/pom.xml b/pom.xml index 9f7b879..bf2695c 100755 --- a/pom.xml +++ b/pom.xml @@ -3,8 +3,9 @@ 4.0.0 com.verhas license3j - 2.0.0 + 2.0.1 jar + https:/github.com/verhas/license3j/tree/master License3j https://github.com/verhas/License3j @@ -42,7 +43,7 @@ org.bouncycastle bcpg-jdk15on - 1.57 + 1.60 org.mockito @@ -68,6 +69,7 @@ org.apache.maven.plugins maven-source-plugin + 3.2.1 attach-sources @@ -80,6 +82,7 @@ org.apache.maven.plugins maven-javadoc-plugin + 3.1.1 attach-javadocs @@ -88,6 +91,9 @@ + + 8 + org.apache.maven.plugins diff --git a/release.sh b/release.sh new file mode 100644 index 0000000..1f9f4a3 --- /dev/null +++ b/release.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +mkdir -p release/ +cp target/*.jar release/ +cp pom.xml release/ + +cd release +rm *.sig +rm *.asc +for file in *.jar pom.xml +do + gpg -s -b $file + mv ${file}.sig ${file}.asc +done + +rm *.zip +jar -c -M -f release.zip *.jar pom.xml *.asc +cd .. +cd ..