Skip to content

Commit

Permalink
[CI] Enable release on LTS branches (#2671)
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei authored Feb 21, 2025
1 parent b012f24 commit 3fa5129
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Create Release Draft
on:
pull_request:
types: [ closed ]
branches: [ main, master ]
branches: [ main, core/* ]
paths:
- 'package.json'

Expand Down Expand Up @@ -38,9 +38,10 @@ jobs:
files: |
dist.zip
tag_name: v${{ steps.current_version.outputs.version }}
draft: false
target_commitish: ${{ github.event.pull_request.base.ref }}
make_latest: ${{ github.event.pull_request.base.ref == 'main' }}
draft: true
prerelease: false
make_latest: true
generate_release_notes: true
publish_types:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3fa5129

Please sign in to comment.