Skip to content

Commit 58d67d7

Browse files
authored
update publish-maven-central-plugin plugin version (#286)
* update publish-maven-central-plugin plugin version * add ORG_GRADLE_PROJECT_signingKey environment variable
1 parent 13f384e commit 58d67d7

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.circleci/config.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,11 @@ jobs:
7171
version: 19.03.13
7272
- docker_login
7373
- run: echo "Releasing version" && ./gradlew printVersion
74-
- run: ./gradlew publish
74+
- run:
75+
name: Publish to Maven Central
76+
command: |
77+
export ORG_GRADLE_PROJECT_signingKey=$(echo $SIGNING_KEY | base64 -d)
78+
./gradlew publish
7579
- run: DOCKER_TAG=${CIRCLE_TAG} make docker docker-push
7680
- run:
7781
name: "Copy artifacts to workspace"

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import org.hypertrace.gradle.publishing.License.APACHE_2_0;
33
plugins {
44
`java-library`
55
id("com.diffplug.spotless") version "5.2.0" apply false
6-
id("org.hypertrace.publish-maven-central-plugin") version "0.4.1" apply false
6+
id("org.hypertrace.publish-maven-central-plugin") version "0.4.2" apply false
77
id("org.hypertrace.ci-utils-plugin") version "0.1.4"
88
id("org.gradle.test-retry") version "1.2.0" apply false
99
}

0 commit comments

Comments
 (0)