Skip to content
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.

Commit

Permalink
replace tabs with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Brateman committed Dec 16, 2015
1 parent ad35bf9 commit 557d807
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions official-release-process.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,44 +19,44 @@ Public github address (https://github.com/card-io/card.io-Android-SDK)
1. Run `fab sdk_reset sdk_release`, it will reset the branches, build the sdk in the `distribution-repo` folder, tag the release, and deploy to mavenCentral. Modify the fab task to `sdk_release:is_upload_archives=false` if you do not want to deploy to mavenCentral.

1. Switch to master and merge release branch
```bash
git checkout master
git merge --no-ff release/1.2.3
```
```bash
git checkout master
git merge --no-ff release/x.x.x
```

1. Now push the changes to origin repo
```bash
git push origin master --tags
```
```bash
git push origin master --tags
```

1. Wait for tests to complete and let's release to public, check the diffs to verify all is good
1. Check the changes
```
cd distribution-repo;
git show
```
2. Promote the repo in maven central
2. Open [Sonatype](https://oss.sonatype.org/), and
2. Follow [these instructions](http://central.sonatype.org/pages/releasing-the-deployment.html)
2. Only when the [card.io maven repo](https://repo1.maven.org/maven2/io/card/android-sdk/) lists this release, proceed to next step. Otherwise, the sample app won't compile.
3. Push
```
git push public master --tags
```
1. Check the changes
```
cd distribution-repo;
git show
```
2. Promote the repo in maven central
2. Open [Sonatype](https://oss.sonatype.org/), and
2. Follow [these instructions](http://central.sonatype.org/pages/releasing-the-deployment.html)
2. Only when the [card.io maven repo](https://repo1.maven.org/maven2/io/card/android-sdk/) lists this release, proceed to next step. Otherwise, the sample app won't compile.
3. Push
```
git push public master --tags
```

1. Update javadocs
1. On public repo, checkout special gh branch called gh-pages:
2. `git checkout gh-pages`
2. ``` rm -rf `ls | grep -v *.md` ```
1. On private sdk rep, build javadoc and copy to public repo:
2. `./gradlew releaseDoc`
2. `cp -a card.io/build/docs/javadoc/release/* <public repo dir>`
1. On public repo, push the changes:
2. `git push`
1. On public repo, checkout special gh branch called gh-pages:
2. `git checkout gh-pages`
2. ``` rm -rf `ls | grep -v *.md` ```
1. On private sdk rep, build javadoc and copy to public repo:
2. `./gradlew releaseDoc`
2. `cp -a card.io/build/docs/javadoc/release/* <public repo dir>`
1. On public repo, push the changes:
2. `git push`

1. Check github that all is good.

1. Post that a new release is available using the same format previously used to:
1. https://github.com/card-io/card.io-Android-SDK/releases
2. Twitter (username=cardio/password=_ask for password_)
3. Google Groups (send email to card-io-sdk-announce@googlegroups.com)
1. https://github.com/card-io/card.io-Android-SDK/releases
2. Twitter (username=cardio/password=_ask for password_)
3. Google Groups (send email to card-io-sdk-announce@googlegroups.com)

0 comments on commit 557d807

Please sign in to comment.