Skip to content

Commit 6ab8997

Browse files
BigCat20196msyycRAY-316
authored
[Release helper] Fix bug (Azure#25094)
* update for Go * check tag consistency and optize reply * add write.md * update go js readme * update * Update common.py * Update common.py * update assignee for JS * update * update * Update common.py * Update common.py * Update release_helper.yml for Azure Pipelines * Update common.py * update * Update common.py * Update common.py * Update main.py * update * update bot advice * update * update * update excel * update output function * add exception handle for bad credential * fix static varaible in class * update auto_assignee algorithm * update bot token to have a try * update bot token * force to single process * test * test * test * test * fix bug * fix * update release_helper/js * update release_helper/js * fix bug * update release helper * Update js.py * Update js.py * Update js.py * urldecode * format * add python * fix * add package name * update package name * update package name * fix bug * update get edit_content * auto-close * record release * debug * debug * debug * override run * init readme link * fix * fix * fix * update assignee_token and auto-close * fix * debug * fix * auto-reply * fix * debug * fix * debug * debug * fix * debugg * update yaml * change to add_label * format * add attention policy and remind policy * add duplicated policy * delete uesless code * Update scripts/release_helper/utils.py Co-authored-by: Yuchao Yan <[email protected]> * update * fix dependence version * fix dependence version * fix env * update js assignee * update js assignee * fix find pr number bug * update assignee logic * debug * debug * update python assignee * Update python.py * debug * debug * delete useless code * Update scripts/release_helper/python.py Co-authored-by: Yuchao Yan <[email protected]> Co-authored-by: msyyc <[email protected]> Co-authored-by: Zed <[email protected]> Co-authored-by: Yiming Lei <[email protected]> Co-authored-by: Yuchao Yan <[email protected]>
1 parent 64ba554 commit 6ab8997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release_helper/python.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def readme_comparison(self) -> bool:
6969
contents = str(self.issue_package.rest_repo.get_contents(readme_path).decoded_content)
7070
pattern_tag = re.compile(r'tag: package-[\w+-.]+')
7171
package_tags = pattern_tag.findall(contents)
72-
whether_same_tag = self.target_readme_tag in package_tags
72+
whether_same_tag = self.target_readme_tag in package_tags[0]
7373
whether_change_readme = not whether_same_tag or self.is_multiapi
7474
return whether_change_readme
7575

0 commit comments

Comments
 (0)