135
136
_run_shell_command("git fetch origin +refs/meta/*:refs/remotes/meta/*")
136
137
milestone_cmd = "git show meta/openstack/release:%s" % branch_name
137
138
milestonever = _run_shell_command(milestone_cmd)
140
144
post_version = _get_git_post_version()
141
145
# post version should look like:
143
147
# where the bit after the last . is the short sha, and the bit between
144
148
# the last and second to last is the revno count
145
149
(revno, sha) = post_version.split(".")[-2:]
147
150
second_half = "%s%s.%s" % (revno_prefix, revno, sha)
148
151
return ".".join((first_half, second_half))