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

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-10-23 15:35:55 +08:00
1 parent 97d73d835b
commit b8b1631d46
1 file changed
+1 -1
+1 -1
View File
@@ -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}}"