Skip to content

Commit a81891f

Browse files
fix(ci): add version generation to binary build workflow
- Add fetch-depth: 0 to checkout for git tags access - Add generate-version step before building binaries Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
1 parent 08e047e commit a81891f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build-release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
steps:
1717
- name: Checkout code
1818
uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
1921

2022
- name: Setup Bun
2123
uses: oven-sh/setup-bun@v1
@@ -34,6 +36,9 @@ jobs:
3436
- name: Embed static files
3537
run: bun run embed-static
3638

39+
- name: Generate version file
40+
run: bun run generate-version
41+
3742
- name: Build all platforms
3843
run: |
3944
mkdir -p dist

0 commit comments

Comments
 (0)