Skip to content

Commit a2cc92e

Browse files
committed
fix: Update checkout step to fetch full history for accurate versioning
1 parent 6bd8ee0 commit a2cc92e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,9 @@ jobs:
6666
# if: ${{ inputs.channel=='prod' }}
6767
steps:
6868
- uses: actions/checkout@v4
69+
with:
70+
fetch-depth: 0
6971
- run: |
70-
git checkout -b main
7172
curl -L -o hiddify-core.tar.gz https://codeload.github.com/hiddify/hiddify-core/tar.gz/${{ inputs.tag-name }}
7273
HIDDIFY_CORE_WRT_HASH=$(sha256sum hiddify-core.tar.gz | cut -d' ' -f1)
7374
github_ref_name="${{ inputs.tag-name }}"

0 commit comments

Comments
 (0)