Skip to content

Commit 1cecece

Browse files
authored
fix: ensure CI variable defaults to false in build script (#47)
1 parent 84beab3 commit 1cecece

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ else
2929
goreleaser build --snapshot --clean "$@"
3030
fi
3131

32-
if [[ "$CI" == "true" ]]; then
32+
if [[ "${CI:-false}" == "true" ]]; then
3333
tree -L 2 -a --dirsfirst -C -F -h -D dist/
3434
echo "artifact_dir=dist" >> $GITHUB_OUTPUT
3535
fi

0 commit comments

Comments
 (0)