Skip to content

Commit 8500607

Browse files
authored
Fix my fix (#79)
1 parent b269e0a commit 8500607

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/release-build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,21 @@ jobs:
3838
-Prelease.version=${{ github.event.inputs.version }}
3939
"-Porg.gradle.java.installations.paths=${{ steps.setup-java-17.outputs.path }}"
4040
41+
- name: Set user.name and user.email for the nebula plugin
42+
run: |
43+
git config user.name otelbot
44+
git config user.email [email protected]
45+
4146
- name: Publish release
4247
env:
4348
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
4449
SONATYPE_KEY: ${{ secrets.SONATYPE_KEY }}
4550
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
4651
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}
47-
run: |
48-
# user.name and user.email are required by the nebula plugin
49-
git config user.name otelbot
50-
git config user.email [email protected]
51-
52-
./gradlew final closeAndReleaseSonatypeStagingRepository \
53-
--stacktrace \
54-
-Prelease.version=${{ github.event.inputs.version }} \
55-
"-Porg.gradle.java.installations.paths=${{ steps.setup-java-17.outputs.path }}"
52+
run: >
53+
./gradlew final closeAndReleaseSonatypeStagingRepository --stacktrace
54+
-Prelease.version=${{ github.event.inputs.version }}
55+
"-Porg.gradle.java.installations.paths=${{ steps.setup-java-17.outputs.path }}"
5656
5757
- name: Create Release
5858
env:

0 commit comments

Comments
 (0)