ci(gitlab-ci): git-log --all commits for frontend and backend dependencies for image version
This commit is contained in:
parent
8aec2676d0
commit
746e8a4d16
@ -61,8 +61,8 @@ setup:dynamic:
|
||||
- apt-get -y update
|
||||
- apt-get -y install git
|
||||
script:
|
||||
- FRONTEND_IMAGE_VERSION=`git log ${FRONTEND_IMAGE_DEPENDENCIES} | grep '^commit' | wc --lines | tee frontend-image-version`
|
||||
- BACKEND_IMAGE_VERSION=`git log ${BACKEND_IMAGE_DEPENDENCIES} | grep '^commit' | wc --lines | tee backend-image-version`
|
||||
- FRONTEND_IMAGE_VERSION=`git log --all ${FRONTEND_IMAGE_DEPENDENCIES} | grep '^commit' | wc --lines | tee frontend-image-version`
|
||||
- BACKEND_IMAGE_VERSION=`git log --all ${BACKEND_IMAGE_DEPENDENCIES} | grep '^commit' | wc --lines | tee backend-image-version`
|
||||
- git log
|
||||
- git log ${FRONTEND_IMAGE_DEPENDENCIES}
|
||||
- git log ${FRONTEND_IMAGE_DEPENDENCIES} | grep '^commit'
|
||||
|
||||
Reference in New Issue
Block a user