From 22fd171f4e500cbfb67a7fe2ea45cc22c57bdc0a Mon Sep 17 00:00:00 2001 From: opencode Date: Mon, 3 Nov 2025 00:11:46 +0000 Subject: [PATCH] Update to v1.0.14 --- .SRCINFO | 4 ++-- PKGBUILD | 8 +++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 584c996..080841d 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = opencode pkgdesc = The AI coding agent built for the terminal. - pkgver = 1.0.13 + pkgver = 1.0.14 pkgrel = 1 url = https://github.com/sst/opencode arch = aarch64 @@ -15,7 +15,7 @@ pkgbase = opencode conflicts = opencode-bin options = !debug options = !strip - source = opencode-1.0.13.tar.gz::https://github.com/sst/opencode/archive/v1.0.13.tar.gz + source = opencode-1.0.14.tar.gz::https://github.com/sst/opencode/archive/v1.0.14.tar.gz sha256sums = SKIP pkgname = opencode diff --git a/PKGBUILD b/PKGBUILD index 7fe574c..3faca6c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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() {