Ver Fonte

fix: Drone 流水线去掉 pipefail,兼容 /bin/sh

Co-authored-by: Cursor <cursoragent@cursor.com>
zlwu há 1 semana atrás
pai
commit
b8b1631d46
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      .drone.yml

+ 1 - 1
.drone.yml

@@ -26,7 +26,7 @@ steps:
     environment:
       GOGS_HTTP: http://101.35.245.122:3000
     commands:
-      - set -euo pipefail
+      - set -eu
       - apt-get update -qq && apt-get install -y -qq git ca-certificates >/dev/null
       - |
         BRANCH="${DRONE_SOURCE_BRANCH:-${DRONE_BRANCH:-master}}"