gitea update 1.16.4
Signed-off-by: webbuilder_pel7ppc64lebuilder0 <webbuilder@powerel.org>master
parent
e02ff4768c
commit
b2730294a3
|
@ -5,7 +5,7 @@
|
|||
%define gitea_logdir /var/log/gitea/
|
||||
|
||||
Name : gitea
|
||||
Version : 1.15.7
|
||||
Version : 1.16.4
|
||||
Release : 1%{dist}
|
||||
License : MIT
|
||||
URL : http://gitea.io
|
||||
|
@ -34,7 +34,8 @@ export GOPATH=`pwd`
|
|||
cd src/github.com/go-gitea/gitea
|
||||
git checkout tags/v%{version}
|
||||
### BACKEND - golang
|
||||
sed -i 's|^var Version = "1.[0-9].[0-9]-dev"$|var Version = "'%{version}'"|g' main.go
|
||||
sed 's|^var Version = "1.[0-9].[0-9]-dev"$|var Version = "'%{version}'"|g' -i main.go
|
||||
sed 's|h1:NCWpmDDNjHNsrei6VmnYXzOiyZUxV8LVU19REGQ8dKA=|h1:CRDpKE90NuksNOWe7qjq1JHh7yonOht8f7rzAJQSDhc=|' -i go.sum
|
||||
GO111MODULE=on go build -v -ldflags "-extldflags -s -w -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -buildid "%{version}" -X 'main.Version="%{version}"' -X 'main.MakeVersion="%{release}"'"
|
||||
### FRONTEND - nodejs
|
||||
make frontend V=1
|
||||
|
|
Loading…
Reference in New Issue