Write version to VERSION file on deploy
This commit is contained in:
@@ -7,13 +7,11 @@ current:
|
||||
cache:
|
||||
enabled: true
|
||||
key: pragmarx-version
|
||||
time: 525600 #minutes = 1 year
|
||||
time: 60 # minutes = 1 year
|
||||
build:
|
||||
#mode: number # "number", "git-local" or "git-remote"
|
||||
mode: git-local # "number", "git-local" or "git-remote"
|
||||
number: 701031
|
||||
length: 6
|
||||
increment_by: 1
|
||||
git:
|
||||
#git-local: "git rev-parse --verify HEAD"
|
||||
git-local: "git rev-parse --quiet --verify HEAD 2>/dev/null || echo VERSION"
|
||||
|
||||
Reference in New Issue
Block a user