diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..90a9bec --- /dev/null +++ b/deploy.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +## 1. java version +java -version +printf "\n" + +## 2. gradle version +./gradlew -version +printf "\n" + +## 3. gradle clean build +./gradlew clean build + +## 4. deploy 发布正式版 +./gradlew publish + diff --git a/gradle.properties b/gradle.properties index 65031bd..0e9e38f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,6 +7,6 @@ NEXUS_OSS_PASS_WORD=*** REPOSITORY_URL_SNAPSHOT=https://oss.sonatype.org/content/repositories/snapshots/ REPOSITORY_URL_RELEASE=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -signing.keyId=D73A4CFE +signing.keyId=A861D6AE signing.password=sonatype signing.secretKeyRingFile=/Users/lcm/.gnupg/secring.gpg