Skip to content
Permalink
Browse files

add buildYear variable

  • Loading branch information...
erilong committed Mar 14, 2019
1 parent 8c693b9 commit 66f16be27d5dfc7478c8641177bac24d3d3a90c9
@@ -116,6 +116,7 @@ task generateDocs(type: Copy) {
'appVersion': version,
'appMajorVersion': version.substring(0, version.lastIndexOf(".")),
'buildTime': new java.text.SimpleDateFormat('yyyy-MM-dd HH:mm:ss').format(new java.util.Date()),
'buildYear': new java.text.SimpleDateFormat('yyyy').format(new java.util.Date()),
'scmVersion' : scmVersion
])
}
@@ -126,6 +127,7 @@ task generateDocs(type: Copy) {
'appVersion': version,
'appMajorVersion': version.substring(0, version.lastIndexOf(".")),
'buildTime': new java.text.SimpleDateFormat('yyyy-MM-dd HH:mm:ss').format(new java.util.Date()),
'buildYear': new java.text.SimpleDateFormat('yyyy').format(new java.util.Date()),
'scmVersion' : scmVersion
])
}
@@ -136,6 +138,7 @@ task generateDocs(type: Copy) {
'appVersion': version,
'appMajorVersion': version.substring(0, version.lastIndexOf(".")),
'buildTime': new java.text.SimpleDateFormat('yyyy-MM-dd HH:mm:ss').format(new java.util.Date()),
'buildYear': new java.text.SimpleDateFormat('yyyy').format(new java.util.Date()),
'scmVersion' : scmVersion
])

@@ -17,7 +17,7 @@ endif::pro[]



Copyright (C) 2007-2017 JumpMind, Inc
Copyright (C) 2007-@buildYear@ JumpMind, Inc

Version @appVersion@

@@ -17,7 +17,7 @@ endif::pro[]



Copyright (C) 2007-2017 JumpMind, Inc
Copyright (C) 2007-@buildYear@ JumpMind, Inc

Version @appVersion@

@@ -13,7 +13,7 @@ ifndef::pro[]
= SymmetricDS @appMajorVersion@ User Guide
endif::pro[]

Copyright (C) 2007-2018 JumpMind, Inc
Copyright (C) 2007-@buildYear@ JumpMind, Inc

Version @appVersion@

0 comments on commit 66f16be

Please sign in to comment.
You can’t perform that action at this time.