File tree Expand file tree Collapse file tree 2 files changed +19
-21
lines changed Expand file tree Collapse file tree 2 files changed +19
-21
lines changed Original file line number Diff line number Diff line change @@ -42,18 +42,19 @@ jobs:
4242 gpg --passphrase $GPG_PASSPHRASE --batch --import signing-key
4343 export ORG_GRADLE_PROJECT_signingInMemoryKey=$(gpg --armor --passphrase $GPG_PASSPHRASE --pinentry-mode=loopback --export-secret-keys $GPG_KEY_NAME signing-key | grep -v '\-\-' | grep -v '^=.' | tr -d '\n')
4444 shred signing-key
45- make releasestart
46- - name : sha256
47- run : |
48- make buildplugin
49- sha256sum ./protoc-gen-connect-kotlin/build/libs/protoc-gen-connect-kotlin.jar >> sha256.txt
50- - name : Publish GitHub artifacts
51- uses : softprops/action-gh-release@v1
52- with :
53- generate_release_notes : true
54- append_body : true
55- files : |
56- ./protoc-gen-connect-kotlin/build/libs/protoc-gen-connect-kotlin.jar
57- sha256.txt
58- - name : Close repository and release
59- run : make releasecomplete
45+ make release
46+ plugin :
47+ runs-on : ubuntu-latest
48+ steps :
49+ - name : sha256
50+ run : |
51+ make buildplugin
52+ sha256sum ./protoc-gen-connect-kotlin/build/libs/protoc-gen-connect-kotlin.jar >> sha256.txt
53+ - name : Publish GitHub artifacts
54+ uses : softprops/action-gh-release@v1
55+ with :
56+ generate_release_notes : true
57+ append_body : true
58+ files : |
59+ ./protoc-gen-connect-kotlin/build/libs/protoc-gen-connect-kotlin.jar
60+ sha256.txt
Original file line number Diff line number Diff line change @@ -103,18 +103,15 @@ lint: ## Run lint.
103103lintfix : # Applies the lint changes.
104104 ./gradlew spotlessApply
105105
106- .PHONY : releasecomplete
107- releasecomplete : # # Close release to publish artifacts to Sonatype Nexus.
106+ .PHONY : release
107+ release : # # Upload artifacts to Sonatype Nexus.
108+ ./gradlew --info publish --stacktrace --no-daemon --no-parallel
108109 ./gradlew --info closeAndReleaseRepository
109110
110111.PHONY : releaselocal
111112releaselocal : # # Release artifacts to local maven repository.
112113 ./gradlew --info publishToMavenLocal
113114
114- .PHONY : releasestart
115- releasestart : # # Upload artifacts to Sonatype Nexus.
116- ./gradlew --info publish --stacktrace --no-daemon --no-parallel
117-
118115.PHONY : test
119116test : # # Run tests for the library.
120117 ./gradlew library:test
You can’t perform that action at this time.
0 commit comments