diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a309c8c..9314a96 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,8 +24,6 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - with: - fetch-depth: 0 - name: Set up Java 8 uses: actions/setup-java@v4 diff --git a/Makefile b/Makefile index 582141e..94aca27 100644 --- a/Makefile +++ b/Makefile @@ -9,13 +9,12 @@ build: .PHONY: publish publish: @echo "./gradlew clean :agent:shadowJar publishToSonatype closeAndReleaseSonatypeStagingRepository" - @./gradlew clean :agent:shadowJar publishToSonatype \ + @./gradlew clean :agent:shadowJar publishToSonatype closeAndReleaseSonatypeStagingRepository \ -PsonatypeUsername="$(NEXUS_USERNAME)" \ -PsonatypePassword="$(NEXUS_PASSWORD)" \ -Psigning.secretKeyRingFile="$(NEXUS_GPG_SECRING_FILE)" \ -Psigning.password="$(NEXUS_GPG_PASSWORD)" \ -Psigning.keyId="$(NEXUS_GPG_KEY_ID)" - @echo "Now you go https://s01.oss.sonatype.org, close the temporarily created staging repository and release it" @echo "https://central.sonatype.org/publish/release/#locate-and-examine-your-staging-repository" .PHONY: test