Created
February 25, 2014 19:11
-
-
Save yngwie74/9215512 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call :release_delta | |
:: por cada version | |
for %%v in (105 103 201) do ( | |
:: por cada release | |
for /D %%a in (C:\ruta_releases\50%%v.0300.*) do ( | |
:: por cada build | |
for /D %%b in ("%%a\build-50%%v.0300.*") do ( | |
:: aplicar el delta de version | |
for %%f in ("%%b\BD\650000000000*.sql") do ( | |
copy /Y "%%f" .\mis_deltas\ | |
bash "../migrate.sh" -D db_pruebas -i 300 -v 5.201 | |
call :release_delta | |
) | |
) | |
) | |
) | |
goto :EOF | |
:release_delta | |
sqlcmd -E -d db_pruebas -Q "delete from dbo.changelog where change_number=650000000000" | |
goto :EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment