From 18cb9590c89957802f1c62f27a1eda42cdb8b23d Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Sat, 6 Jan 2018 16:35:18 -0600 Subject: [PATCH] version file fix --- config/version.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/config/version.yml b/config/version.yml index 0519ab87..bda2968e 100644 --- a/config/version.yml +++ b/config/version.yml @@ -3,20 +3,14 @@ current: major: 7 minor: 0 patch: 0 + git_absorb: git-local format: "{$major}.{$minor}.{$patch}" -cache: - enabled: true - key: pragmarx-version - time: 60 # minutes = 1 year build: - mode: number # "number", "git-local" or "git-remote" + mode: number number: 451e9e git_absorb: git-local - #mode: git-local - #length: 6 git: - #git-local: "git rev-parse --verify HEAD" - git-local: "git rev-parse --quiet --verify HEAD 2>/dev/null || echo VERSION" + git-local: "git rev-parse --verify HEAD" git-remote: "git ls-remote {$repository}" branch: "refs/heads/master" repository: "{{ env('VERSION_GIT_REMOTE_REPOSITORY') }}"