Commit 812140be authored by Manuel Tancoigne's avatar Manuel Tancoigne

Use commit number in footer when building on CI

parent ef2805ff
Pipeline #76573868 passed with stages
in 5 minutes and 47 seconds
......@@ -37,6 +37,9 @@ build/build:
- 'dist/'
stage: build
script:
- sed -i -e "s/CI_COMMIT_SHA/${CI_COMMIT_SHA}/" src/App.vue
- sed -i -e "s/CI_COMMIT_SHORT_SHA/${CI_COMMIT_SHORT_SHA}/" src/App.vue
- yarn build
- rm -rf node_modules
# only:
# - master
......@@ -28,9 +28,12 @@
<i-container>
<i-row>
<i-column>
<i18n path="app.by_elabs">
<a href="https://experimentslabs.com">ExperimentsLabs</a>
</i18n>
<div>
<i18n path="app.by_elabs">
<a href="https://experimentslabs.com">ExperimentsLabs</a>
</i18n>
</div>
<small>Build <code><a href="https://gitlab.com/experimentslabs/typing-monkey/commit/CI_COMMIT_SHA" target="_blank" rel="noopener noreferrer">CI_COMMIT_SHORT_SHA</a></code></small>
</i-column>
<i-column class="_text-right">
<a href="https://gitlab.com/experimentslabs/typing-monkey" target="_blank">{{ $t('app.propose') }}</a>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment