Added timestamp

This commit is contained in:
Georgy Litvinov 2020-07-01 18:41:01 +02:00
parent adefad19df
commit 665895dd9c
4 changed files with 25 additions and 7 deletions

View file

@ -1,6 +1,6 @@
def releaseVersion = "0.7.14"
def releaseVersion = "0.7.15"
task oxt(type: Zip) {
dependsOn = [ 'setVersion' ]
dependsOn = [ 'setVersion','setVersionInBasicCode' ]
from './'
include '*'
include '*/*'
@ -21,4 +21,8 @@ task setVersion(){
replace(path: "//*[local-name()='version']/@value", withText: "${releaseVersion}")
}
}
task setVersionInBasicCode {
ant.replaceregexp(match:'redactionExtensionVersion = ".*"', replace:"redactionExtensionVersion = "${releaseVersion}"", flags:'g', byline:true) {
fileset(dir: 'Redaction', includes: 'Configuration.xba')
}
}