refer to version file absolutely

This commit is contained in:
dovholuknf
2020-05-25 10:32:49 -04:00
parent c05b49a40b
commit 0ee8096524
2 changed files with 5 additions and 3 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
set /p BUILD_VERSION=<version
IF "%BUILD_VERSION%"=="" GOTO BUILD_VERSION_ERROR
set SVC_ROOT_DIR=%~dp0
set /p BUILD_VERSION=<%SVC_ROOT_DIR%\..\version
IF "%BUILD_VERSION%"=="" GOTO BUILD_VERSION_ERROR
@echo fetching ziti-ci
call %SVC_ROOT_DIR%/../get-ziti-ci.bat
ziti-ci version
+2
View File
@@ -1,3 +1,5 @@
set /p BUILD_VERSION=<%SVC_ROOT_DIR%\..\version
IF "%BUILD_VERSION%"=="" GOTO BUILD_VERSION_ERROR
IF "%TRAVIS_BRANCH%"=="master" GOTO RELEASE