Rename generated file back to commit_sha
This commit is contained in:
@@ -62,7 +62,7 @@ func (c *InCommand) Run(destDir string, request InRequest) (InResponse, error) {
|
||||
return InResponse{}, err
|
||||
}
|
||||
|
||||
commitPath := filepath.Join(destDir, "target_commit")
|
||||
commitPath := filepath.Join(destDir, "commit_sha")
|
||||
commitSHA = c.resolveTagToCommitSHA(*foundRelease.TagName)
|
||||
err = ioutil.WriteFile(commitPath, []byte(commitSHA), 0644)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user