First working version of release script.

Change-Id: I9c24560203150a28f1f63237b9ede6a30bb32b7e