Dax Raad 8 месяцев назад
Родитель
Сommit
25f4721c71
2 измененных файлов с 3 добавлено и 2 удалено
  1. 1 1
      .github/workflows/publish.yml
  2. 2 1
      packages/opencode/script/publish.ts

+ 1 - 1
.github/workflows/publish.yml

@@ -59,7 +59,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 || true
       - name: Install dependencies
         run: bun install
 

+ 2 - 1
packages/opencode/script/publish.ts

@@ -97,7 +97,7 @@ 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
+  /* AUR package - commented out as AUR is down
   const pkgbuild = [
     "# Maintainer: dax",
     "# Maintainer: adam",
@@ -136,6 +136,7 @@ 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 = [