Perhaps quote the square brackets?
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
parent
5c27361e15
commit
d0d1f60c7f
|
@ -38,11 +38,11 @@ pipeline:
|
|||
- 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 -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'
|
||||
- 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
|
||||
# ensure the C files are over 5000 lines long, as a safety measure
|
||||
- [ $(wc -l < vc/v.c) -gt 5000 ]
|
||||
- [ $(wc -l < vc/v_win.c) -gt 5000 ]
|
||||
- '[ $(wc -l < vc/v.c) -gt 5000 ]'
|
||||
- '[ $(wc -l < vc/v_win.c) -gt 5000 ]'
|
||||
- git -C vc add v.c v_win.c
|
||||
- 'git -C vc commit -m "[v:master] $COMMIT_HASH - $COMMIT_MSG"'
|
||||
# in case there are recent commits:
|
||||
|
|
Loading…
Reference in New Issue