File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 6464 needs : [build] # build job must pass before we can release
6565
6666 if : github.event_name == 'push'
67- && (github.ref == 'refs/heads/release/2.x' || startsWith(github.ref, 'refs/tags/v') )
67+ && startsWith(github.ref, 'refs/tags/v')
6868 && github.repository == 'mockito/mockito-scala'
6969 && !contains(toJSON(github.event.commits.*.message), '[skip release]')
7070
8383
8484 - name : Build and publish to Bintray/MavenCentral
8585 run : ./build.sh
86- && ./gradlew publishToSonatype githubRelease closeAndReleaseStagingRepository releaseSummary
86+ && ./gradlew publishToSonatype githubRelease closeAndReleaseStagingRepositories releaseSummary
8787 env :
8888 GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
8989 NEXUS_TOKEN_USER : ${{secrets.NEXUS_TOKEN_USER}}
You can’t perform that action at this time.
0 commit comments