mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Fix #92
This commit is contained in:
		
							
								
								
									
										2
									
								
								gogs.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								gogs.go
									
									
									
									
									
								
							@@ -19,7 +19,7 @@ import (
 | 
			
		||||
// Test that go1.2 tag above is included in builds. main.go refers to this definition.
 | 
			
		||||
const go12tag = true
 | 
			
		||||
 | 
			
		||||
const APP_VER = "0.3.0.0421 Alpha"
 | 
			
		||||
const APP_VER = "0.3.0.0422 Alpha"
 | 
			
		||||
 | 
			
		||||
func init() {
 | 
			
		||||
	base.AppVer = APP_VER
 | 
			
		||||
 
 | 
			
		||||
@@ -4,6 +4,7 @@ package base
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	_ "github.com/gogits/cache/redis"
 | 
			
		||||
	_ "github.com/gogits/session/redis"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
func init() {
 | 
			
		||||
 
 | 
			
		||||
@@ -87,7 +87,6 @@ func Releases(ctx *middleware.Context) {
 | 
			
		||||
				return
 | 
			
		||||
			}
 | 
			
		||||
			tags.rels[i].NumCommitsBehind = commitsCount - tags.rels[i].NumCommits
 | 
			
		||||
			tags.rels[i].Created = commit.Author.When
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user