编辑文件 my-first-workflow.yaml
This commit is contained in:
@@ -67,7 +67,7 @@ steps:
|
||||
commands:
|
||||
- |
|
||||
VERSION="v$(git rev-parse --short=8 HEAD)"
|
||||
echo v$(git rev-parse --short=8 HEAD)
|
||||
echo git rev-parse --short=8 HEAD
|
||||
echo "BUILD_VERSION=${VERSION}" >> "$CI_ENV_FILE"
|
||||
echo "构建版本号:${VERSION}"
|
||||
echo "✅ 生成版本号:${VERSION}"
|
||||
|
||||
Reference in New Issue
Block a user