Skip to content

Commit

Permalink
Substitute ${{package.srcdir}} during build
Browse files Browse the repository at this point in the history
Signed-off-by: dann frazier <[email protected]>
  • Loading branch information
dannf committed Jan 3, 2025
1 parent 8a01634 commit def9f29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -972,6 +972,7 @@ func buildConfigMap(cfg *Configuration) map[string]string {
SubstitutionPackageDescription: cfg.Package.Description,
SubstitutionPackageEpoch: strconv.FormatUint(cfg.Package.Epoch, 10),
SubstitutionPackageFullVersion: fmt.Sprintf("%s-r%d", cfg.Package.Version, cfg.Package.Epoch),
SubstitutionPackageSrcdir: container.DefaultWorkspaceDir,
}

for k, v := range cfg.Vars {
Expand Down

0 comments on commit def9f29

Please sign in to comment.