Fixing version stamping in windows
This commit is contained in:
parent
fc461ba62b
commit
7bd8655a92
1 changed files with 2 additions and 2 deletions
|
|
@ -4,9 +4,9 @@ def stamp(convertdetails) {
|
|||
def filetoconvert = convertdetail[0]
|
||||
def pattern = convertdetail[1]
|
||||
def replacement = convertdetail[2]
|
||||
echo "Converting any instances of pattern: ${pattern} with replacement: ${replacement} in file: ${filetoconvert}"
|
||||
//echo "Converting any instances of pattern: ${pattern} with replacement: ${replacement} in file: ${filetoconvert}"
|
||||
def stampscript = "${autobuilder.commonscripts()}/versionstamping/versionstamper.py"
|
||||
echo "Using python: ${PYTHON} and script: ${stampscript}"
|
||||
//echo "Using python: ${PYTHON} and script: ${stampscript}"
|
||||
if (isUnix()) {
|
||||
sh """
|
||||
"${PYTHON}" -u "${stampscript}" -f "${filetoconvert}" -p "${pattern}" -s "${replacement}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue