1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: fix generation of vc/v_win.c in gen_vc.yml

This commit is contained in:
Delyan Angelov 2022-04-14 13:44:18 +03:00
parent e555335bf0
commit a62560d2c1
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -31,7 +31,7 @@ jobs:
rm -rf vc/v.c vc/v_win.c
./v -o vc/v.c -os cross cmd/v
./v -o vc/v_win.c -os windows cmd/v
./v -o vc/v_win.c -os windows -cc msvc cmd/v
sed -i "1s/^/#define V_COMMIT_HASH \"$COMMIT_HASH\"\n/" vc/v.c
sed -i "1s/^/#define V_COMMIT_HASH \"$COMMIT_HASH\"\n/" vc/v_win.c