Skip to content

Commit

Permalink
handle creation of SPECS/golang.spec instead of SOURCES/golang.spec
Browse files Browse the repository at this point in the history
  • Loading branch information
xdu31 committed Feb 14, 2024
1 parent e732f97 commit 91609ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ func updateGoSpec(gClient git.Client, r *Release) error {

func addTempFilesForNewMinorVersion(gClient git.Client, r *Release) error {
// Add golang.spec
specFilePath := fmt.Sprintf(rpmSourcePathFmt, constants.EksGoProjectPath, r.GoMinorVersion(), goSpecFile)
specFilePath := fmt.Sprintf(specPathFmt, constants.EksGoProjectPath, r.GoMinorVersion(), goSpecFile)
rf, err := gClient.ReadFile(newReleaseFile)
if err != nil {
logger.Error(err, "Reading newRelease.txt file")
Expand Down

0 comments on commit 91609ee

Please sign in to comment.