Index: scripts/make_package.bat =================================================================== diff -u -N --- scripts/make_package.bat (revision 0dad97fd1b1e4c79c037b3b638181c2214c0d8f8) +++ scripts/make_package.bat (revision 0) @@ -1,64 +0,0 @@ -@echo off - -rem Mark the changes as local ones -setlocal - -rem Check input parameter -if [%1] == [] ( - echo Usage: make_package.bat beta^|final - exit /b 1 -) - -echo --- Initializing ----------------------------------------------- -echo * Reading configuration... -call config.bat -if errorlevel 1 ( - goto error -) - -echo * Preparing environment... -call internal\prepare_env.bat -if errorlevel 1 ( - goto error -) - -echo --- Detecting version numbers ---------------------------------- -call internal\detect_version.bat %1 -if errorlevel 1 ( - goto error -) - -echo --- Checking if current trunk is already tagged ---------------- -svn --depth empty co "%ReposCH%/tags/%TrunkTextVersion%" "%MainProjectDir%" >nul 2>nul -if errorlevel 1 ( - echo * Tag not found. Will tag. -) else ( - echo * Tag %TrunkTextVersion% already found. Skipping tagging. - SET TextVersion=%TrunkTextVersion% - SET SVNVersion=%TrunkSVNVersion% - goto make_existing -) - -echo --- Tagging the release ---------------------------------------- -call internal\svntag.bat %TextVersion% -if errorlevel 1 ( - goto error -) - -:make_existing -call make_existing_package.bat %TextVersion% -if errorlevel 1 ( - goto error -) - -goto cleanup - -:error -call internal\clear_env.bat /skip_create -exit /b 1 - -:cleanup -call internal\clear_env.bat /skip_create - -:end -exit /b 0