编辑文件 my-first-workflow.yaml

This commit is contained in:
xinian
2026-01-28 12:43:28 +08:00
committed by cnb
parent 372c913d19
commit 0180163244

View File

@@ -67,7 +67,7 @@ steps:
commands:
- |
VERSION="v$(git rev-parse --short=8 HEAD)"
echo git rev-parse --short=8 HEAD
git rev-parse --short=8 HEAD
echo "BUILD_VERSION=${VERSION}" >> "$CI_ENV_FILE"
echo "构建版本号:${VERSION}"
echo "✅ 生成版本号:${VERSION}"