summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandro Santilli <strk@kbt.io>2017-10-12 13:40:42 +0200
committerLauris BH <lauris@nix.lv>2017-10-12 14:40:42 +0300
commita4cd4616c6f8524f8eb79d6184e855b3a8164130 (patch)
tree63155beaf0a88275477797100486b1ba7ba66a25
parentdff26e25ca4e088ac709bc4b11eb84cdb9603d34 (diff)
downloadgitea-a4cd4616c6f8524f8eb79d6184e855b3a8164130.tar.gz
gitea-a4cd4616c6f8524f8eb79d6184e855b3a8164130.zip
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
-rw-r--r--integrations/version_test.go2
-rw-r--r--main.go2
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 = ""