dimagi/core-hq — pull request #5 by dannyroberts (2012-09-11 22:09:40+00:00)
Title: fix corner case where apps get starred as soon as they're built

It was because when you revert to a build that's starred, is_released stayed True on the main app doc, and then when it got built again, that retained the star. Fixed by always setting is_released to False on a new build.