Fix gitlab prepare fails with a 404.

A GitLab URL not ending in .git requires a redirect which isomorphic-git doesn't follow, resulting in a 404.
This incorporates @ruloweb's fix in #4134.
This commit is contained in:
Alan Crosswell
2021-01-23 14:12:18 -05:00
parent b34d2514d7
commit c05baec7fd
3 changed files with 5 additions and 2 deletions
+2
View File
@@ -16,3 +16,5 @@ catalog:
- type: url
target: https://github.com/backstage/backstage/blob/other/plugins/scaffolder-backend/sample-templates/docs-template/template.yaml
```
This also fixes a 404 in the prepare stage for GitLab URLs.