Skip to content

Commit

Permalink
Merge pull request #625 from jamshale/adjust-auto-release-docs
Browse files Browse the repository at this point in the history
Adjust auto release docs
  • Loading branch information
jamshale authored Aug 14, 2024
2 parents 0a3f33f + 5ecfd55 commit 6d4770d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions repo_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ def main(arg_1=None, arg_2=None):
line = next(file)
line = next(file)
line = next(file)
while "***" not in line:
while "### Plugins Upgraded" not in line:
if (
line
!= "| Plugin Name | Supported ACA-Py Release |\n"
Expand All @@ -491,9 +491,12 @@ def main(arg_1=None, arg_2=None):

# Get all released plugins and the plugins not on the global version
for item in last_releases:
released_plugins.append(item.split("|")[1].strip())
if item.split("|")[2].strip() == global_version[0]:
plugins_on_old_release.append(item.split("|")[1].strip())
split_item = item.split("|")
if len(split_item) > 1:
released_plugins.append(split_item[1].strip())

if split_item[2].strip() == global_version[0]:
plugins_on_old_release.append(split_item[1].strip())

# If there is releases in the RELEASES.md file then look for new plugins and add them to plugins on old release
if last_releases:
Expand Down

0 comments on commit 6d4770d

Please sign in to comment.