Skip to content

Commit

Permalink
fix: exported bosh release file name
Browse files Browse the repository at this point in the history
  • Loading branch information
crhntr committed Aug 1, 2023
1 parent 303c6ea commit 4c7b16f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cargo/bosh_release.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ func CompileBOSHReleaseTarballs(_ context.Context, logger *log.Logger, boshDirec

func exportAndDownloadBOSHRelease(releasesDirectory string, boshDirector director.Director, deployment director.Deployment, source BOSHReleaseTarball, sc Stemcell) (BOSHReleaseTarball, error) {
releaseMF := source.Manifest
exportFileName := fmt.Sprintf("%s-%s-%s-%s.tgz", releaseMF.Name, releaseMF.Name, sc.OS, sc.Version)
exportFileName := fmt.Sprintf("%s-%s-%s-%s.tgz", releaseMF.Name, releaseMF.Version, sc.OS, sc.Version)
exportFilePath := filepath.Join(filepath.Dir(source.FilePath), exportFileName)

releaseSlug := director.NewReleaseSlug(releaseMF.Name, releaseMF.Version)
Expand Down

0 comments on commit 4c7b16f

Please sign in to comment.