fix(wp): version
This commit is contained in:
parent
f6e7363e61
commit
41a1684d43
@ -1,7 +1,7 @@
|
||||
pkgbase = woodpecker
|
||||
pkgdesc = Woodpecker is a community fork of the Drone CI system
|
||||
pkgver = 2.1.0
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://woodpecker-ci.org
|
||||
arch = x86_64
|
||||
license = Apache
|
||||
|
@ -7,7 +7,7 @@ pkgname=(
|
||||
'woodpecker-cli'
|
||||
)
|
||||
pkgver=2.1.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Woodpecker is a community fork of the Drone CI system"
|
||||
arch=('x86_64')
|
||||
url="https://woodpecker-ci.org"
|
||||
@ -32,7 +32,7 @@ prepare() {
|
||||
|
||||
mkdir -p build-server build-agent build-cli
|
||||
|
||||
go mod download || true
|
||||
go mod download
|
||||
}
|
||||
|
||||
build() {
|
||||
@ -46,7 +46,7 @@ build() {
|
||||
-buildmode=pie
|
||||
-mod=readonly
|
||||
-modcacherw
|
||||
-ldflags "-linkmode external -extldflags \"${LDFLAGS}\" -X go.woodpecker-ci.org/woodpecker/version.Version=${pkgver}"
|
||||
-ldflags "-linkmode external -extldflags \"${LDFLAGS}\" -X go.woodpecker-ci.org/woodpecker/v2/version.Version=${pkgver}"
|
||||
)
|
||||
|
||||
cd web
|
||||
|
Loading…
Reference in New Issue
Block a user