From fbb4a9dc7f645f9588b6972e45b01b0840dbcb28 Mon Sep 17 00:00:00 2001 From: tommytroen Date: Mon, 24 Feb 2020 12:43:32 +0100 Subject: [PATCH] ci: try publish command and add =true to insecure checksum flag --- .github/workflows/publish-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 7ca1044b..5be01964 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -56,5 +56,5 @@ jobs: export GPG_TTY=$(tty) && echo ${GPG_KEY_BASE64} | base64 --decode | gpg --fast-import --batch NEW_VERSION=$(echo "${GITHUB_REF}" | cut -d "/" -f3) echo "New version: ${NEW_VERSION}" - ./gradlew -Pversion=${NEW_VERSION} publishToSonatype closeAndReleaseRepository -Dorg.gradle.internal.publish.checksums.insecure --info + ./gradlew -Pversion=${NEW_VERSION} publish closeAndReleaseRepository -Dorg.gradle.internal.publish.checksums.insecure=true --info