From f957481b6950eca9a266f33e07d04de3514ab483 Mon Sep 17 00:00:00 2001 From: New Future Date: Sat, 20 Apr 2019 19:24:17 +0800 Subject: [PATCH] ci(travis): replace version info --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 0f788f71..ba46a108 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,7 @@ install: # command to run tests script: + - sed -i -e "s/\${BUILD_SOURCEBRANCHNAME}/${TRAVIS_BRANCH}/" -e "s/\${SYSTEM_PIPELINESTARTTIME}/$(date)/" run.py - pyinstaller --onefile --noconfirm --clean ./.build/ddns.spec - ./dist/ddns || test -e "config.json"