@@ -15,6 +15,7 @@ import (
1515 "github.com/NDDev-OpenNetwork/github-device-sync/core/domain"
1616 "github.com/NDDev-OpenNetwork/github-device-sync/core/identity"
1717 "github.com/NDDev-OpenNetwork/github-device-sync/core/operations"
18+ "github.com/NDDev-OpenNetwork/github-device-sync/core/projections"
1819 "github.com/NDDev-OpenNetwork/github-device-sync/core/releaseconsumer"
1920 "github.com/NDDev-OpenNetwork/github-device-sync/core/serialization"
2021 "github.com/NDDev-OpenNetwork/github-device-sync/core/state"
@@ -543,7 +544,7 @@ func (services *Services) releaseOperationContext(
543544 if err != nil {
544545 return releaseOperationContext {}, []domain.Finding {dependencyFinding (path , err )}
545546 }
546- if _ , err := services .Git .CommittedSourceOID (ctx , root , []string {
547+ if _ , err := services .Git .CommittedSourceOID (ctx , releaseImplementationRoot ( root ) , []string {
547548 "requirements/bundle-trust.yaml" , ".github/workflows/release-bundle.yml" ,
548549 "scripts/validate_release.sh" , "core/app/release_operations.go" , "core/app/release_scope.go" , "core/bundle" ,
549550 "core/cli" , "core/cmd/gds" , "core/operations" , "core/providers/git/source.go" ,
@@ -582,6 +583,10 @@ func (services *Services) releaseOperationContext(
582583 }, nil
583584}
584585
586+ func releaseImplementationRoot (controlPlaneRoot string ) string {
587+ return projections .ResolveDevelopmentSourceLayout (controlPlaneRoot ).EngineRoot
588+ }
589+
585590func (services * Services ) releaseVerifier (identity bundle.TrustVerifier ) (releaseconsumer.Verifier , error ) {
586591 if services .ReleaseAttestations != nil {
587592 return releaseconsumer.Verifier {Schemas : services .Schemas , Attestations : services .ReleaseAttestations }, nil
0 commit comments