浏览代码

merged-release-fix

csharptest 14 年之前
父节点
当前提交
9fc5386501
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      build/PublishRelease.bat

+ 1 - 0
build/PublishRelease.bat

@@ -6,6 +6,7 @@ REM @ECHO OFF
 @GOTO HELP
 
 :VERSION
+IF NOT EXIST "%~dp0\..\build_temp\" MD "%~dp0\..\build_temp\"
 hg log -l 1 --template "Revision: {rev}" > %~dp0\..\build_temp\revision.txt
 CMD.exe /Q /C "CD %~dp0\.. && lib\StampVersion.exe /major:2 /minor:3 /build:0 /revision:build_temp\revision.txt"
 @TYPE src\ProtocolBuffers\Properties\AssemblyInfo.cs | FIND "AssemblyFileVersion"