diff options
author | Unknwon <u@gogs.io> | 2015-11-03 22:49:06 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-03 22:49:06 -0500 |
commit | 3a81fdf092a39cc94f3bb896a42db8546bd5f39a (patch) | |
tree | a436e2de1aaafab77e985c550b165df7dc12f3ae /models/release.go | |
parent | 6f0a41b8b28ba33382ab8d655c0d015324be7647 (diff) | |
download | gitea-3a81fdf092a39cc94f3bb896a42db8546bd5f39a.tar.gz gitea-3a81fdf092a39cc94f3bb896a42db8546bd5f39a.zip |
rename fields
Diffstat (limited to 'models/release.go')
-rw-r--r-- | models/release.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/release.go b/models/release.go index 027491d9dc..38f3e4f48f 100644 --- a/models/release.go +++ b/models/release.go @@ -64,7 +64,7 @@ func createTag(gitRepo *git.Repository, rel *Release) error { return err } - if err = gitRepo.CreateTag(rel.TagName, commit.Id.String()); err != nil { + if err = gitRepo.CreateTag(rel.TagName, commit.ID.String()); err != nil { return err } } else { |