File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 33export GPG_KEY_LOCATION=$( pwd) /encrypted.key
44echo " Starting upload to maven"
55echo " ${GPG_SECRET_KEYS_ENC} " | base64 --decode > $GPG_KEY_LOCATION
6+ echo " ls key: "
7+ ls $GPG_KEY_LOCATION
8+ echo " sha256sum key: "
9+ sha256sum $GPG_KEY_LOCATION
10+ echo " running gradlew"
611./gradlew properties -q | grep " version:" | awk ' {print $2}'
712export PROJECT_VERSION=$( ./gradlew properties -q | grep " version:" | awk ' {print $2}' )
813# Upload only snapshots to sonatype oss so it can make its way to maven central
@@ -11,4 +16,4 @@ export PROJECT_VERSION=$(./gradlew properties -q | grep "version:" | awk '{print
1116# Only non-snapshot can be pushed as maven releases
1217if [[ ! $( echo " ${PROJECT_VERSION} " | grep " SNAPSHOT" ) ]]; then
1318 ./gradlew closeAndReleaseRepository
14- fi
19+ fi
You can’t perform that action at this time.
0 commit comments