mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
parent
1352bc880d
commit
33ae621083
4 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
defaults: &defaults
|
defaults: &defaults
|
||||||
docker:
|
docker:
|
||||||
- image: bepsays/ci-goreleaser:1.13.7-1
|
- image: bepsays/ci-goreleaser:1.14-1
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: "0"
|
CGO_ENABLED: "0"
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,8 @@ git:
|
||||||
depth: false
|
depth: false
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- "1.12.16"
|
- "1.13.8"
|
||||||
- "1.13.7"
|
- "1.14"
|
||||||
- master
|
- master
|
||||||
|
|
||||||
arch:
|
arch:
|
||||||
|
|
|
@ -320,7 +320,7 @@ func runCmd(env map[string]string, cmd string, args ...string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func isGoLatest() bool {
|
func isGoLatest() bool {
|
||||||
return strings.Contains(runtime.Version(), "1.13")
|
return strings.Contains(runtime.Version(), "1.14")
|
||||||
}
|
}
|
||||||
|
|
||||||
func isCI() bool {
|
func isCI() bool {
|
||||||
|
|
|
@ -26,7 +26,7 @@ parts:
|
||||||
|
|
||||||
hugo:
|
hugo:
|
||||||
plugin: nil
|
plugin: nil
|
||||||
build-snaps: [go/1.13/stable]
|
build-snaps: [go/1.14/stable]
|
||||||
source: .
|
source: .
|
||||||
override-build: |
|
override-build: |
|
||||||
set -ex
|
set -ex
|
||||||
|
|
Loading…
Reference in a new issue