diff options
| author | Dax Raad <[email protected]> | 2025-08-12 17:29:10 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-08-12 17:29:10 -0400 |
| commit | d1876e30311a563d09b13c8236cbb335abc65d8d (patch) | |
| tree | 6de1211a6736e09947ad1080ea63ec1ede21e9c5 | |
| parent | 9fa3e0a0ec20ca2a2fa4eaff84c7533003e609e9 (diff) | |
| download | opencode-d1876e30311a563d09b13c8236cbb335abc65d8d.tar.gz opencode-d1876e30311a563d09b13c8236cbb335abc65d8d.zip | |
ci: enable aur
| -rw-r--r-- | .github/workflows/publish.yml | 11 | ||||
| -rwxr-xr-x | packages/opencode/script/publish.ts | 2 |
2 files changed, 5 insertions, 8 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f8f2146a2..12b1d4afd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -48,11 +48,10 @@ jobs: restore-keys: | ${{ runner.os }}-bun- - # Temporarily disabled AUR steps - # - name: Install makepkg - # run: | - # sudo apt-get update - # sudo apt-get install -y pacman-package-manager + - name: Install makepkg + run: | + sudo apt-get update + sudo apt-get install -y pacman-package-manager - name: Setup SSH for AUR run: | @@ -61,7 +60,7 @@ jobs: chmod 600 ~/.ssh/id_rsa git config --global user.email "[email protected]" git config --global user.name "opencode" - # ssh-keyscan -H aur.archlinux.org >> ~/.ssh/known_hosts + ssh-keyscan -H aur.archlinux.org >> ~/.ssh/known_hosts - name: Install dependencies run: bun install diff --git a/packages/opencode/script/publish.ts b/packages/opencode/script/publish.ts index 3ce750d3c..b0520fb5a 100755 --- a/packages/opencode/script/publish.ts +++ b/packages/opencode/script/publish.ts @@ -97,7 +97,6 @@ if (!snapshot) { const macX64Sha = await $`sha256sum ./dist/opencode-darwin-x64.zip | cut -d' ' -f1`.text().then((x) => x.trim()) const macArm64Sha = await $`sha256sum ./dist/opencode-darwin-arm64.zip | cut -d' ' -f1`.text().then((x) => x.trim()) - /* // AUR package const pkgbuild = [ "# Maintainer: dax", @@ -137,7 +136,6 @@ if (!snapshot) { await $`cd ./dist/aur-${pkg} && git commit -m "Update to v${version}"` if (!dry) await $`cd ./dist/aur-${pkg} && git push` } - */ // Homebrew formula const homebrewFormula = [ |
