From a4cd4616c6f8524f8eb79d6184e855b3a8164130 Mon Sep 17 00:00:00 2001
From: Sandro Santilli <strk@kbt.io>
Date: Thu, 12 Oct 2017 13:40:42 +0200
Subject: [PATCH] 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
---
 integrations/version_test.go | 2 +-
 main.go                      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/integrations/version_test.go b/integrations/version_test.go
index 95b4dbc952..9a30bfb53b 100644
--- a/integrations/version_test.go
+++ b/integrations/version_test.go
@@ -17,7 +17,7 @@ import (
 func TestVersion(t *testing.T) {
 	prepareTestEnv(t)
 
-	setting.AppVer = "1.1.0+dev"
+	setting.AppVer = "test-version-1"
 	req := NewRequest(t, "GET", "/api/v1/version")
 	resp := MakeRequest(t, req, http.StatusOK)
 
diff --git a/main.go b/main.go
index c2acda99af..e55779bea5 100644
--- a/main.go
+++ b/main.go
@@ -21,7 +21,7 @@ import (
 )
 
 // Version holds the current Gitea version
-var Version = "1.1.0+dev"
+var Version = "1.3.0-dev"
 
 // Tags holds the build tags used
 var Tags = ""