Browse Source

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
tags/v1.3.0-rc1
Sandro Santilli 6 years ago
parent
commit
a4cd4616c6
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      integrations/version_test.go
  2. 1
    1
      main.go

+ 1
- 1
integrations/version_test.go View File

@@ -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)


+ 1
- 1
main.go View File

@@ -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 = ""

Loading…
Cancel
Save