gitea: fix version reported by gitea --version

This commit is contained in:
Enno Boland 2019-01-29 19:40:20 +01:00
parent 705722164d
commit f5ec099487
No known key found for this signature in database
GPG Key ID: D09964719BDE9971
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'gitea' # Template file for 'gitea'
pkgname=gitea pkgname=gitea
version=1.7.0 version=1.7.0
revision=1 revision=2
build_style=go build_style=go
go_import_path=code.gitea.io/gitea go_import_path=code.gitea.io/gitea
# This could be done with build options, but these are built in with the # This could be done with build options, but these are built in with the
@ -31,6 +31,7 @@ homepage="https://gitea.io"
changelog="https://github.com/go-gitea/gitea/blob/master/CHANGELOG.md" changelog="https://github.com/go-gitea/gitea/blob/master/CHANGELOG.md"
distfiles="https://github.com/go-gitea/gitea/archive/v${version}.tar.gz" distfiles="https://github.com/go-gitea/gitea/archive/v${version}.tar.gz"
checksum=2fdd4d51b22f40c03e6a55c065dafbcfad16ca14adf4f093ceed89e59480f679 checksum=2fdd4d51b22f40c03e6a55c065dafbcfad16ca14adf4f093ceed89e59480f679
go_ldflags=" -X main.Version=$version"
system_accounts="_gitea" system_accounts="_gitea"
_gitea_homedir="/var/lib/gitea" _gitea_homedir="/var/lib/gitea"