Skip to content

Commit

Permalink
Last tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
aleks-p committed Nov 27, 2024
1 parent 971f407 commit 7cb2daa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7cb2daa

Please sign in to comment.