소스 검색

Check for tag, not just new tag (#10663)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
tags/v1.12.0-dev
John Olheiser 4 년 전
부모
커밋
b40428a50a
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      modules/repofiles/update.go

+ 1
- 1
modules/repofiles/update.go 파일 보기

@@ -698,7 +698,7 @@ func createCommitRepoActions(repo *models.Repository, gitRepo *git.Repository, o
return nil, fmt.Errorf("Old and new revisions are both %s", git.EmptySHA)
}
var commits = &repo_module.PushCommits{}
if opts.IsNewTag() {
if opts.IsTag() {
// If is tag reference
tagName := opts.TagName()
if opts.IsDelRef() {

Loading…
취소
저장