mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Update hard-coded version to 1.3.0-dev (#2390)
* Use -dev (1.3.0-dev is less than 1.3.0, according to semver) * Use fake version for testing purpose
This commit is contained in:
		 Sandro Santilli
					Sandro Santilli
				
			
				
					committed by
					
						 Lauris BH
						Lauris BH
					
				
			
			
				
	
			
			
			 Lauris BH
						Lauris BH
					
				
			
						parent
						
							dff26e25ca
						
					
				
				
					commit
					a4cd4616c6
				
			| @@ -17,7 +17,7 @@ import ( | |||||||
| func TestVersion(t *testing.T) { | func TestVersion(t *testing.T) { | ||||||
| 	prepareTestEnv(t) | 	prepareTestEnv(t) | ||||||
|  |  | ||||||
| 	setting.AppVer = "1.1.0+dev" | 	setting.AppVer = "test-version-1" | ||||||
| 	req := NewRequest(t, "GET", "/api/v1/version") | 	req := NewRequest(t, "GET", "/api/v1/version") | ||||||
| 	resp := MakeRequest(t, req, http.StatusOK) | 	resp := MakeRequest(t, req, http.StatusOK) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user