Skip to content

Commit a4cd461

Browse files
strklafriks
authored andcommitted
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
1 parent dff26e2 commit a4cd461

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

integrations/version_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
func TestVersion(t *testing.T) {
1818
prepareTestEnv(t)
1919

20-
setting.AppVer = "1.1.0+dev"
20+
setting.AppVer = "test-version-1"
2121
req := NewRequest(t, "GET", "/api/v1/version")
2222
resp := MakeRequest(t, req, http.StatusOK)
2323

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
)
2222

2323
// Version holds the current Gitea version
24-
var Version = "1.1.0+dev"
24+
var Version = "1.3.0-dev"
2525

2626
// Tags holds the build tags used
2727
var Tags = ""

0 commit comments

Comments
 (0)