Skip to content

Commit d1876e3

Browse files
committed
ci: enable aur
1 parent 9fa3e0a commit d1876e3

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,10 @@ jobs:
4848
restore-keys: |
4949
${{ runner.os }}-bun-
5050
51-
# Temporarily disabled AUR steps
52-
# - name: Install makepkg
53-
# run: |
54-
# sudo apt-get update
55-
# sudo apt-get install -y pacman-package-manager
51+
- name: Install makepkg
52+
run: |
53+
sudo apt-get update
54+
sudo apt-get install -y pacman-package-manager
5655
5756
- name: Setup SSH for AUR
5857
run: |
@@ -61,7 +60,7 @@ jobs:
6160
chmod 600 ~/.ssh/id_rsa
6261
git config --global user.email "opencode@sst.dev"
6362
git config --global user.name "opencode"
64-
# ssh-keyscan -H aur.archlinux.org >> ~/.ssh/known_hosts
63+
ssh-keyscan -H aur.archlinux.org >> ~/.ssh/known_hosts
6564
- name: Install dependencies
6665
run: bun install
6766

packages/opencode/script/publish.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ if (!snapshot) {
9797
const macX64Sha = await $`sha256sum ./dist/opencode-darwin-x64.zip | cut -d' ' -f1`.text().then((x) => x.trim())
9898
const macArm64Sha = await $`sha256sum ./dist/opencode-darwin-arm64.zip | cut -d' ' -f1`.text().then((x) => x.trim())
9999

100-
/*
101100
// AUR package
102101
const pkgbuild = [
103102
"# Maintainer: dax",
@@ -137,7 +136,6 @@ if (!snapshot) {
137136
await $`cd ./dist/aur-${pkg} && git commit -m "Update to v${version}"`
138137
if (!dry) await $`cd ./dist/aur-${pkg} && git push`
139138
}
140-
*/
141139

142140
// Homebrew formula
143141
const homebrewFormula = [

0 commit comments

Comments
 (0)