Github integration

jberkel edited this page Nov 30, 2011 · 6 revisions

Github integration

You can upload the apk files directly to github's file section, just set your github username in ~/.gitconfig:

[github]
    user = jberkel

You'll need to add Github.settings to your configuration in build.scala:

settings = General.androidFullProjectSettings ++ Github.settings ++ Seq (
  ...
  githubRepo in Android := "github-repo-name" // or "username/github-repo-name"
)

Then, from the sbt console:

> android:github-upload
[info] uploading to https://github.s3.amazonaws.com/

To delete the current version from github:

> android:github-delete

If you want to avoid typing your password every time check out the Password Manager instructions.