-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Casey Kulm
committed
Sep 21, 2017
1 parent
3a6108e
commit 2168558
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters