Skip to content

Commit 694c9df

Browse files
committed
update-project-version: Fix an incorrect variable name
1 parent 7cbb8e5 commit 694c9df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update-project-version/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ runs:
5757
project_info = {}
5858
for project in changed_projects:
5959
name, version = subprocess.check_output(["poetry", "version", "-C", str(project.parent)], encoding="ascii").split()
60-
project_info[file] = {"name": name, "version": version}
60+
project_info[project] = {"name": name, "version": version}
6161
if len(changed_projects) == 1:
6262
title = "chore: Update project {} to v{}".format(project_info[changed_projects[0]]["name"], project_info[changed_projects[0]]["version"])
6363
else:

0 commit comments

Comments
 (0)