Skip to content

Commit

Permalink
fixup case for stack_package
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansick committed Oct 2, 2024
1 parent a170ffc commit 6ba0669
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/templatebot/services/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,11 @@ async def create_project_from_template(
github_homepage_url = f"https://{github_name}.lsst.io/"
github_description = template_values["title"]

elif template.name == "stack_package":
github_name = template_values["package_name"]
github_owner = template_values["github_org"]
github_description = "A package in the LSST Science Pipelines."

else:
# A generic repository template. By definition the "name"
# is treated as teh github repo name, and the "github_org"
Expand Down

0 comments on commit 6ba0669

Please sign in to comment.