ci: improve commit checking and update release version script (#4471)
- Increase `fetch-depth` to 50 for more accurate commit history in CI - Update `release-version.mjs` to use `bash` explicitly for improved compatibility - Also avoid errors when invoking the script Signed-off-by: Dragon1573 <49941141+Dragon1573@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
9397ac0174
commit
a2544d237e
@@ -55,7 +55,7 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 2
|
||||
fetch-depth: 50
|
||||
|
||||
- name: Check if version changed or src changed
|
||||
id: check
|
||||
|
||||
Reference in New Issue
Block a user