diff --git a/release/release_bob.py b/release/release_bob.py index 7b8e0e5ecba945be6aa87b8eee19fbc69ac65d67..ad58c9e6a84e5441cced5a55d3312c4b8f404c5e 100755 --- a/release/release_bob.py +++ b/release/release_bob.py @@ -287,7 +287,7 @@ def main(private_token, group_name='bob', changelog_file='changelog.rst', dry_ru if not start_idx: print('Package {0} was not found in the changelog'.format(package)) return - start_idx = start_idx[0] + start_idx = pkgs.tolist().index(start_idx[0]) for i in range(start_idx, pkgs.shape[0] - 1): cur_package_name = changelog[pkgs[i]][1:].strip()