Skip to content

Commit c3c6f3e

Browse files
committed
fix: do not update license on existing repo
This causes more trouble than worth. Signed-off-by: ZHANG Yuntian <yt@radxa.com>
1 parent a517c44 commit c3c6f3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/share/rsdk/infra-package/template.jsonnet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ function(
2424
git_rev,
2525
new_repo,
2626
) {
27-
"LICENSE": LICENSE(),
2827
".devenv/.gitignore": importstr ".devenv/.gitignore",
2928
".direnv/.gitignore": importstr ".direnv/.gitignore",
3029
".devcontainer/.devenv/.gitignore": importstr ".devcontainer/.devenv/.gitignore",
@@ -37,7 +36,6 @@ function(
3736
".github/workflows/release.yaml": release_yaml(),
3837
".github/workflows/check_linked_issue.yaml": check_linked_issue_yaml(),
3938
"debian/compat": importstr "debian/compat",
40-
"debian/copyright": copyright(target),
4139
"debian/rules": importstr "debian/rules",
4240
"debian/common-lintian-overrides": importstr "debian/common-lintian-overrides",
4341
".envrc": importstr ".envrc",
@@ -48,8 +46,10 @@ function(
4846
} + (if new_repo == true
4947
then
5048
{
49+
"LICENSE": LICENSE(),
5150
"debian/.gitignore": importstr "debian/.gitignore",
5251
"debian/changelog": changelog(target),
52+
"debian/copyright": copyright(target),
5353
"debian/source/format": importstr "debian/source/format",
5454
".github/CODEOWNERS": CODEOWNERS(),
5555
".gitignore": importstr ".gitignore",

0 commit comments

Comments
 (0)