Skip to content

Commit

Permalink
feat(release): zucchero-sintattico successfully migrated to legacy OSSRH
Browse files Browse the repository at this point in the history
  • Loading branch information
manuandru committed Mar 15, 2024
1 parent 1db3eef commit 964952a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 23 deletions.
39 changes: 19 additions & 20 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,25 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
# Dry-deployment
# Dry-deployment
check-command: ./gradlew build --parallel
# deploy-command: >-
# ./gradlew
# uploadKotlinOSSRHToMavenCentralNexus
# uploadPluginMavenToMavenCentralNexus
# uploadPluginMarkerMavenToMavenCentralNexus
# close
# drop
# --parallel
deploy-command: >-
./gradlew
uploadKotlinOSSRHToMavenCentralNexus
uploadPluginMavenToMavenCentralNexus
uploadPluginMarkerMavenToMavenCentralNexus
close
drop
--parallel
should-run-codecov: ${{ runner.os == 'Linux' }}
should-deploy: false
# should-deploy: >-
# ${{
# runner.os == 'Linux'
# && !github.event.repository.fork
# && github.event_name != 'pull_request'
# }}
# maven-central-username: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
# maven-central-password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
should-deploy: >-
${{
runner.os == 'Linux'
&& !github.event.repository.fork
&& github.event_name != 'pull_request'
}}
maven-central-username: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
maven-central-password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
signing-key: ${{ secrets.SIGNING_KEY }}
signing-password: ${{ secrets.SIGNING_PASSWORD }}
release:
Expand Down Expand Up @@ -79,8 +78,8 @@ jobs:
github-token: ${{ github.token }}
gradle-publish-secret: ${{ secrets.GRADLE_PUBLISH_SECRET }}
gradle-publish-key: ${{ secrets.GRADLE_PUBLISH_KEY }}
# maven-central-username: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
# maven-central-password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
maven-central-username: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
maven-central-password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
signing-key: ${{ secrets.SIGNING_KEY }}
signing-password: ${{ secrets.SIGNING_PASSWORD }}
success:
Expand Down
2 changes: 0 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ signing {
* Publication on Maven Central and the Plugin portal
*/
publishOnCentral {
configureMavenCentral.set(false) // Waiting for support for new central portal

projectLongName.set(info.longName)
projectDescription.set(description ?: TODO("Missing description"))
projectUrl.set(info.website)
Expand Down
2 changes: 1 addition & 1 deletion release.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ./gradlew uploadKotlinOSSRHToMavenCentralNexus uploadPluginMavenToMavenCentralNexus uploadPluginMarkerMavenToMavenCentralNexus release || exit 1
let publishCmd = `
./gradlew uploadKotlinOSSRHToMavenCentralNexus uploadPluginMavenToMavenCentralNexus uploadPluginMarkerMavenToMavenCentralNexus release || exit 1
./gradlew publishPlugins -Pgradle.publish.key=$GRADLE_PUBLISH_KEY -Pgradle.publish.secret=$GRADLE_PUBLISH_SECRET || exit 2
./gradlew publishKotlinOSSRHPublicationToGithubRepository publishPluginMavenPublicationToGithubRepository || true
`
Expand Down

0 comments on commit 964952a

Please sign in to comment.