Update .gitlab-ci.yml
This commit is contained in:
@@ -11,9 +11,18 @@ variables:
|
|||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- echo "Building the project..."
|
- ls -lah # 查看当前目录的文件情况
|
||||||
- tar -czvf tsg-olap-data-initialization-$VERSION.tar.gz --exclude='.git/*' --exclude='.idea/*' --exclude='.gitlab-ci.yml' --exclude='*.iml' --exclude='*.log' --exclude='*.tmp' --exclude='*.tmp.*' --exclude='*.swp' --exclude='*.swp.*' --exclude='*.swo' --exclude='.DS_Store' ./
|
- tar --no-mtime -czvf tsg-olap-data-initialization-$VERSION.tar.gz --warning=no-file-changed \
|
||||||
- ls -lah
|
--exclude='.git' \
|
||||||
|
--exclude='.git/*' \
|
||||||
|
--exclude='.idea/*' \
|
||||||
|
--exclude='.gitlab-ci.yml' \
|
||||||
|
--exclude='*.iml' \
|
||||||
|
--exclude='*.log' \
|
||||||
|
--exclude='*.tmp' \
|
||||||
|
--exclude='*.swp' \
|
||||||
|
--exclude='.DS_Store' ./
|
||||||
|
- ls -lah # 查看压缩包创建后的文件
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- tsg-olap-data-initialization-$CI_COMMIT_TAG.tar.gz
|
- tsg-olap-data-initialization-$CI_COMMIT_TAG.tar.gz
|
||||||
|
|||||||
Reference in New Issue
Block a user