Skip to content

Commit

Permalink
Windows "latest" builds will now have filenames that match the profil…
Browse files Browse the repository at this point in the history
…e (ee or blank)
  • Loading branch information
bmmpxf committed Nov 30, 2011
1 parent 707edf2 commit 1068685
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions installer/windows/hudson.bat
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,15 @@ move /y %outfile% "%outpath%"

:: Copy to OpenGeoSuite-latest.exe and cleanup directory if latest
if %dist_path%==latest (
echo Copying to OpenGeoSuite-latest.exe
echo.
copy /y "%outpath%\%outfile%" "%outpath%\OpenGeoSuite-latest.exe"
if %profile%==ee (
echo Copying to OpenGeoSuite-ee-latest.exe
echo.
copy /y "%outpath%\%outfile%" "%outpath%\OpenGeoSuite-ee-latest.exe"
) else (
echo Copying to OpenGeoSuite-latest.exe
echo.
copy /y "%outpath%\%outfile%" "%outpath%\OpenGeoSuite-latest.exe"
)
echo Deleting old files from the "latest" directory...
echo.
:: Keep only the most recent 7 builds (8 includes "latest")
Expand Down

0 comments on commit 1068685

Please sign in to comment.