Skip to content

Commit 3c0ad70

Browse files
committed
ci: enable beta branch releases with auto-update support
1 parent 264418c commit 3c0ad70

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@ jobs:
213213
needs:
214214
- build-cli
215215
- version
216-
if: github.ref_name != 'beta'
217216
continue-on-error: false
218217
env:
219218
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
@@ -390,7 +389,7 @@ jobs:
390389
needs:
391390
- build-cli
392391
- version
393-
if: github.repository == 'anomalyco/opencode' && github.ref_name != 'beta'
392+
if: github.repository == 'anomalyco/opencode'
394393
continue-on-error: false
395394
env:
396395
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
@@ -596,7 +595,7 @@ jobs:
596595
path: packages/opencode/dist
597596

598597
- uses: actions/download-artifact@v4
599-
if: needs.version.outputs.release && github.ref_name != 'beta'
598+
if: needs.version.outputs.release
600599
with:
601600
pattern: latest-yml-*
602601
path: /tmp/latest-yml

0 commit comments

Comments
 (0)