update builder script

This commit is contained in:
Liujian
2024-10-21 18:36:19 +08:00
parent 5d1a7a7ca4
commit 486bf0edcd
+2 -2
View File
@@ -45,9 +45,9 @@ builder:
rules:
- if: $CI_COMMIT_BRANCH == "main"
script:
- go mod tidy
- set -e
- |
if [ -d "../artifacts" ]; then
if [ ! -d "../artifacts" ]; then
mkdir -p ../artifacts
fi
if [ -d "../artifacts/dist" ]; then