Skip to content

Commit 2badd8a

Browse files
committed
🐛 fix: 修复构建失败的问题
1 parent 8704b08 commit 2badd8a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/release_build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ jobs:
4343
$timezone = [System.TimeZoneInfo]::FindSystemTimeZoneById("China Standard Time")
4444
$convertedDate = [System.TimeZoneInfo]::ConvertTime($currentDate, $timezone)
4545
$date = $convertedDate.ToString("yyyy-MM-dd HH:mm:ss")
46-
$commit = git rev-parse main
47-
$content = "date = ""$date""" + "`n" + "commit = ""$commit""" + "`n" + "compile = True"
46+
$content = "date = ""$date""" + "`n" + "compile = True"
4847
Set-Content -Path "src/utils/common/compile_data.py" -Value $content
4948
5049
- name: Build with Nuitka

0 commit comments

Comments
 (0)