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

@@ -1,6 +1,6 @@
pkgbase = opencode pkgbase = opencode
pkgdesc = The AI coding agent built for the terminal. pkgdesc = The AI coding agent built for the terminal.
pkgver = 1.0.13 pkgver = 1.0.14
pkgrel = 1 pkgrel = 1
url = https://github.com/sst/opencode url = https://github.com/sst/opencode
arch = aarch64 arch = aarch64
@@ -15,7 +15,7 @@ pkgbase = opencode
conflicts = opencode-bin conflicts = opencode-bin
options = !debug options = !debug
options = !strip 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 sha256sums = SKIP
pkgname = opencode pkgname = opencode

View File

@@ -2,7 +2,7 @@
# Maintainer: adam # Maintainer: adam
pkgname='opencode' pkgname='opencode'
pkgver=1.0.13 pkgver=1.0.14
_subver= _subver=
options=('!debug' '!strip') options=('!debug' '!strip')
pkgrel=1 pkgrel=1
@@ -21,10 +21,8 @@ sha256sums=('SKIP')
build() { build() {
cd "opencode-${pkgver}" cd "opencode-${pkgver}"
bun install bun install
cd packages/tui cd ./packages/opencode
CGO_ENABLED=0 go build -ldflags="-s -w -X main.Version=${pkgver}" -o tui cmd/opencode/main.go OPENCODE_CHANNEL=latest OPENCODE_VERSION=1.0.14 bun run ./script/build.ts --single
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
} }
package() { package() {