Ensure release is a string type

Allow the release to be a integer or non-numeric
type and convert it to a string type only when needed.

Change-Id: Ia62236dc5f3841642b5a5b831c6525074a8fe807