mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-25 04:46:52 +00:00
Update .gitlab-ci.yml file
This commit is contained in:
parent
1ddd34cca7
commit
383c7d38a3
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,8 @@ remove-old-services: # This job runs in the build stage, which runs first.
|
|||
apply-version-tag:
|
||||
stage: prepare
|
||||
script:
|
||||
- echo $CI_PROJECT_DIR
|
||||
- echo ${CI_PROJECT_DIR}
|
||||
- sed -i "s/DATE/$(date -I)/g" ${CI_PROJECT_DIR}/src/views/Setting.vue
|
||||
- sed -i "s/VERSION/$(git log -1 --oneline | awk '{print $1}')/g" ${CI_PROJECT_DIR}/src/views/Setting.vue
|
||||
|
||||
|
|
Loading…
Reference in a new issue