Skip to content

Commit

Permalink
Merge pull request #5 from PackagrIO/abs_addl_path
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ authored Nov 17, 2022
2 parents 8bfbcc9 + c69b705 commit f40946d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ func (p *Pipeline) Start(configData config.Interface) error {
fmt.Printf("FATAL: %+v\n", err)
os.Exit(1)
}
for _, metadataPath := range paths.([]string) {
err = addlMetadataEngine.SetVersion(path.Join(p.Data.GitLocalPath, metadataPath), p.Data.ReleaseVersion)
for _, metadataPath := range paths.([]interface{}) {
metadataPathStr := metadataPath.(string)
err = addlMetadataEngine.SetVersion(path.Join(p.Data.GitLocalPath, metadataPathStr), p.Data.ReleaseVersion)
if err != nil {
fmt.Printf("FATAL: %+v\n", err)
os.Exit(1)
Expand Down

0 comments on commit f40946d

Please sign in to comment.