Change-Id: Ie3b06bf060f2f3bb83ca27d7cb5ef5805de8dc1e
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
# if last build is selected, use it.
last_repo_base = ""
if "selected_snapshot" in content[0]:
- selected_snapshot = content[0]["selected_snapshot"]
- last_repo_base = os.path.join(url_pub_base, repo_path[:repo_path.rfind('/')], selected_snapshot)
+ last_repo_base = content[0]["selected_snapshot"]
else:
# generate current and last repo diff
last_repo_base = get_last_build(url_pub_base, repo_path, release_name)