matomo-org / matomo-sdk-android

SDK for Android to measure your apps with Matomo. Works on Android phones, tablets, Fire TV sticks, and more!
BSD 3-Clause "New" or "Revised" License
393 stars 164 forks source link

Proposal: Remove compiled jar from repo, attach to tagged releases #31

Closed d4rken closed 9 years ago

d4rken commented 9 years ago

Currently the repo contains the compiled jar here: https://github.com/piwik/piwik-sdk-android/tree/master/piwik_sdk/jar It's difficult to track against which code version it was built and everytime you make a testbuild it gets changed and suggested to be recommitted by git. Additionally it's quickly outdated and we don't want (do we?) have to build and update it with each PR. (Currently the jar doesn't already match the latest code).

I would suggest to remove the jar from the repo and attach it to each release as download: https://github.com/piwik/piwik-sdk-android/releases

@dotsbb or @mattab could then choose certain commits, tag it and create a new release.

mattab commented 9 years ago

or maybe we could build the JAR from travis so it's done automatically on each commit?

d4rken commented 9 years ago

If that is possible that would be cool :). We should differentiate between some "stable" and one "bleeding edge" version though.

mattab commented 9 years ago

Each commit has its own build. So then when you make a release on github it will create a tags/x.y.z and a commit, which will trigger a build which could build the Android SDK.