Update to v1.0.14

This commit is contained in:
opencode
2025-11-03 00:11:46 +00:00
parent 9aa40c1652
commit 22fd171f4e
2 changed files with 5 additions and 7 deletions

View File

@@ -2,7 +2,7 @@
# Maintainer: adam
pkgname='opencode'
pkgver=1.0.13
pkgver=1.0.14
_subver=
options=('!debug' '!strip')
pkgrel=1
@@ -21,10 +21,8 @@ sha256sums=('SKIP')
build() {
cd "opencode-${pkgver}"
bun install
cd packages/tui
CGO_ENABLED=0 go build -ldflags="-s -w -X main.Version=${pkgver}" -o tui cmd/opencode/main.go
cd ../opencode
bun build --define OPENCODE_TUI_PATH="'$(realpath ../tui/tui)'" --define OPENCODE_VERSION="'${pkgver}'" --compile --target=bun-linux-x64 --outfile=opencode ./src/index.ts
cd ./packages/opencode
OPENCODE_CHANNEL=latest OPENCODE_VERSION=1.0.14 bun run ./script/build.ts --single
}
package() {