mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-22 06:36:52 +00:00
Update .gitlab-ci.yml file
This commit is contained in:
parent
cbbfc9e841
commit
1ddd34cca7
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@ remove-old-services: # This job runs in the build stage, which runs first.
|
|||
apply-version-tag:
|
||||
stage: prepare
|
||||
script:
|
||||
- sed -i "s/DATE/$(date -I)/g" src/views/Setting.vue
|
||||
- sed -i "s/VERSION/$(git log -1 --oneline | awk '{print $1}')/g" src/views/Setting.vue
|
||||
- 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
|
||||
|
||||
build-job: # This job runs in the test stage.
|
||||
stage: build # It only starts when the job in the build stage completes successfully.
|
||||
|
|
Loading…
Reference in a new issue