Skip to content

Commit

Permalink
Update hard-coded version to 1.3.0-dev (#2390)
Browse files Browse the repository at this point in the history
* Use -dev (1.3.0-dev is less than 1.3.0, according to semver)

* Use fake version for testing purpose
  • Loading branch information
strk authored and lafriks committed Oct 12, 2017
1 parent dff26e2 commit a4cd461
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integrations/version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Expand Down

0 comments on commit a4cd461

Please sign in to comment.