Publish an internal release
masterTo publish an internal release (e.g., 2.0.0-internal01) to an internal repository, follow these steps:
- Update
VERSION_NAMEingradle.propertiesto the internal release version. Ensure this version is unique and does not collide with existing releases. - Set
RELEASE_SIGNING_ENABLEDtofalseingradle.properties. - Verify that your local
~/.gradle/gradle.propertiescontains the following correctly configured variables:internalUrl: The internal repository URL.internalUsername: Internal repository credentials.internalPassword: Internal repository credentials.
- Execute the publish command:
./gradlew publishMavenPublicationToInternalRepository paparazzi-gradle-plugin:publishAllPublicationsToInternalRepository --no-parallel.
Troubleshooting:
If the Gradle publish task fails with a 403 error, verify that the VERSION_NAME is unique and has not been previously published to the internal repository.
./gradlew publishMavenPublicationToInternalRepository paparazzi-gradle-plugin:publishAllPublicationsToInternalRepository --no-parallel