diff --git a/src/components/sidebars/leftsidebar.vue b/src/components/sidebars/leftsidebar.vue index 5b9cb8d1..990b7333 100644 --- a/src/components/sidebars/leftsidebar.vue +++ b/src/components/sidebars/leftsidebar.vue @@ -146,7 +146,6 @@ class="text-center pa-2" style="opacity: 0.7; font-size: 12px;" > -
Branch {{ branch }}
Build #{{ hash }}
Last updated {{ updatedAt }}
@@ -229,10 +228,6 @@ export default { version() { return process.env.VUE_APP_VERSION; }, - - branch() { - return process.env.VUE_APP_GIT_BRANCH; - }, }, methods: { diff --git a/vue.config.js b/vue.config.js index 7c673d22..a9e53410 100644 --- a/vue.config.js +++ b/vue.config.js @@ -16,13 +16,11 @@ try { const lastCommit = lcl.getLastCommitSync(); process.env.VUE_APP_GIT_HASH = lastCommit.shortHash; process.env.VUE_APP_GIT_DATE = lastCommit.committer.date; - process.env.VUE_APP_GIT_BRANCH = lastCommit.gitBranch; } catch (e) { // Sometimes on CI stuff they build with .git being present // TODO: find better way to do this process.env.VUE_APP_GIT_DATE = Math.floor(Date.now() / 1000); process.env.VUE_APP_GIT_HASH = process.env.REVISION; - process.env.VUE_APP_GIT_BRANCH = process.env.SOURCE_BRANCH; } module.exports = {