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