Browse Source

hugo update 0.92.2

Signed-off-by: webbuilder_pel7ppc64lebuilder0 <webbuilder@powerel.org>
master
webbuilder_pel7ppc64lebuilder0 3 years ago
parent
commit
2a2f282be6
  1. 5
      SPECS/hugo.spec

5
SPECS/hugo.spec

@ -1,7 +1,7 @@
%define debug_package %{nil} %define debug_package %{nil}


Name : hugo Name : hugo
Version : 0.90.0 Version : 0.92.2
Release : 1%{?dist} Release : 1%{?dist}
Summary : The world’s fastest framework for building websites. Summary : The world’s fastest framework for building websites.
Group : System/Web Group : System/Web
@ -26,6 +26,8 @@ git clone https://github.com/gohugoio/hugo.git
cd hugo cd hugo
git checkout tags/v%{version} git checkout tags/v%{version}
#go get -u -v github.com/gohugoio/hugo #go get -u -v github.com/gohugoio/hugo
sed 's|h1:NCWpmDDNjHNsrei6VmnYXzOiyZUxV8LVU19REGQ8dKA=|h1:CRDpKE90NuksNOWe7qjq1JHh7yonOht8f7rzAJQSDhc=|' -i go.sum
sed 's|h1:JFNqj2afbbhCqTiyN16D7Tudc/aaDzE2FBDk+VlBQnE=|h1:TA3qh4Cq1VOjh4AJnMHrUFbAsIbD7OnOvpaIRYsU0sI=|' -i go.sum
go mod download go mod download




@ -33,6 +35,7 @@ go mod download
export GOPATH=`pwd`/go export GOPATH=`pwd`/go
export GO111MODULE=on export GO111MODULE=on
cd src/hugo cd src/hugo

git checkout tags/v%{version} git checkout tags/v%{version}
export SHORTCOMMIT=$(git rev-parse --short HEAD) export SHORTCOMMIT=$(git rev-parse --short HEAD)
export BUILDDATE=$(date +%Y%m%d) export BUILDDATE=$(date +%Y%m%d)

Loading…
Cancel
Save