This commit is contained in:
Dax Raad 2025-05-14 14:30:47 -04:00
parent e91371c6a5
commit 47cbb650a0
2 changed files with 6 additions and 5 deletions

View file

@ -36,5 +36,5 @@ jobs:
version: latest version: latest
args: release --clean args: release --clean
env: env:
GITHUB_TOKEN: ${{ secrets.HOMEBREW_GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }}
AUR_KEY: ${{ secrets.AUR_KEY }} AUR_KEY: ${{ secrets.AUR_KEY }}

View file

@ -12,7 +12,7 @@ builds:
- amd64 - amd64
- arm64 - arm64
ldflags: ldflags:
- -s -w -X github.com/opencode-ai/opencode/internal/version.Version={{.Version}} - -s -w -X github.com/sst/opencode/internal/version.Version={{.Version}}
main: ./main.go main: ./main.go
archives: archives:
@ -35,10 +35,11 @@ snapshot:
name_template: "0.0.0-{{ .Timestamp }}" name_template: "0.0.0-{{ .Timestamp }}"
aurs: aurs:
- name: opencode - name: opencode
homepage: "https://github.com/opencode-ai/opencode" homepage: "https://github.com/sst/opencode"
description: "terminal based agent that can build anything" description: "terminal based agent that can build anything"
maintainers: maintainers:
- "kujtimiihoxha <kujtimii.h@gmail.com>" - "dax"
- "adam"
license: "MIT" license: "MIT"
private_key: "{{ .Env.AUR_KEY }}" private_key: "{{ .Env.AUR_KEY }}"
git_url: "ssh://aur@aur.archlinux.org/opencode-bin.git" git_url: "ssh://aur@aur.archlinux.org/opencode-bin.git"
@ -50,7 +51,7 @@ aurs:
install -Dm755 ./opencode "${pkgdir}/usr/bin/opencode" install -Dm755 ./opencode "${pkgdir}/usr/bin/opencode"
brews: brews:
- repository: - repository:
owner: opencode-ai owner: sst
name: homebrew-tap name: homebrew-tap
nfpms: nfpms:
- maintainer: kujtimiihoxha - maintainer: kujtimiihoxha