Rename generated file back to commit_sha

This commit is contained in:
Christoph Sassenberg
2018-01-14 10:19:47 +01:00
parent 4da19b53b4
commit 7bff836cc2
4 changed files with 8 additions and 8 deletions

View File

@@ -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 {