Fix symlink resolution during package build
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
a84622e182
commit
cecaead5b0
1
build.go
1
build.go
@ -427,6 +427,7 @@ func buildPackage(ctx context.Context, script string, mgr manager.Manager) ([]st
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
link = strings.TrimPrefix(link, pkgdir)
|
||||||
|
|
||||||
contents = append(contents, &files.Content{
|
contents = append(contents, &files.Content{
|
||||||
Source: link,
|
Source: link,
|
||||||
|
Loading…
Reference in New Issue
Block a user