We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a29b322 commit d845924Copy full SHA for d845924
packages/opencode/script/publish.ts
@@ -152,7 +152,7 @@ if (!snapshot) {
152
for (const pkg of ["opencode", "opencode-bin"]) {
153
await $`rm -rf ./dist/aur-${pkg}`
154
await $`git clone ssh://aur@aur.archlinux.org/${pkg}.git ./dist/aur-${pkg}`
155
- await $`cd ./dist/aur-${pkg} && git checkout -b master origin/master`
+ await $`cd ./dist/aur-${pkg} && git checkout master`
156
await Bun.file(`./dist/aur-${pkg}/PKGBUILD`).write(pkgbuild.replace("${pkg}", pkg))
157
await $`cd ./dist/aur-${pkg} && makepkg --printsrcinfo > .SRCINFO`
158
await $`cd ./dist/aur-${pkg} && git add PKGBUILD .SRCINFO`
0 commit comments