diff --git a/docs/RELEASING.md b/docs/RELEASING.md new file mode 100644 index 00000000..4251d05b --- /dev/null +++ b/docs/RELEASING.md @@ -0,0 +1,37 @@ +# Releasing + +## One time setup + +* Must have credentials in `gradle.properties` and `gradle.encrypted.properties`. If you run +without them the `uploadArchives` task will tell you what you are missing. + +## Before Release + +Update release notes in `bv-android-sdk/CHANGELOG.md` + +Bump version number in `bv-android-sdk/gradle.properties`. Following semantic versioning of +`BREAK.FEATURE.FIX(-RC#-BV-SNAPSHOT)`. + +## Release + +* To publish to internal Bazaarvoice repo, + +``` +$ ./gradlew clean uploadArchives -Prelease=true +``` + +* To publish to Maven Central, + +``` +$ ./gradlew clean uploadArchives -Prelease=true -PopenSourceRelease=true +``` + +## After Releasing + +* If you published to Maven Central you still to login to promote the release candidate since +our release task here still does not manage auto releasing. +* If you would like to test a build in the app, change `useLocalSdk = true` to be false in +`bv-android-sdk/app/app-dependencies.gradle` + +## More info +* Checkout Mobile+Github+Release+Process in Confluence diff --git a/gradle.properties b/gradle.properties index d6821229..e329266f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -VERSION_NAME=6.10.0-RC1-BV-SNAPSHOT +VERSION_NAME=6.10.0 GROUP=com.bazaarvoice.bvandroidsdk POM_DESCRIPTION=Bazaarvoice Android SDK