diff --git a/.github/workflows/check-commit-needs-build.yml b/.github/workflows/check-commit-needs-build.yml index c3496a00..59a730a7 100644 --- a/.github/workflows/check-commit-needs-build.yml +++ b/.github/workflows/check-commit-needs-build.yml @@ -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 diff --git a/scripts/release-version.mjs b/scripts/release-version.mjs index 7e61170d..a628aaaf 100644 --- a/scripts/release-version.mjs +++ b/scripts/release-version.mjs @@ -53,7 +53,7 @@ function getGitShortCommit() { */ function getLatestTauriCommit() { try { - const fullHash = execSync("./scripts-workflow/get_latest_tauri_commit.bash") + const fullHash = execSync("bash ./scripts-workflow/get_latest_tauri_commit.bash") .toString() .trim(); return execSync(`git rev-parse --short ${fullHash}`).toString().trim();