org.hl7.fhir.core/release.bat

22 lines
978 B
Batchfile
Raw Normal View History

2019-03-15 14:26:38 -04:00
REM replace versions before running
REM make sure you are committed
2019-03-16 18:23:24 -04:00
echo
2019-03-15 14:26:38 -04:00
echo ===============================================================
2019-04-24 20:14:14 -04:00
echo upgrade and release fhir.core from 3.7.28-SNAPSHOT to 3.7.29-SNAPSHOT
2019-03-15 14:26:38 -04:00
echo ===============================================================
pause
2019-04-24 20:14:14 -04:00
call mvn versions:set -DnewVersion=3.7.29-SNAPSHOT
2019-03-15 14:26:38 -04:00
call git commit -a -m "Release new version"
call git push origin master
2019-04-24 20:14:14 -04:00
call "C:\tools\fnr.exe" --cl --dir "C:\work\org.hl7.fhir\build" --fileMask "*.java" --excludeFileMask "*.dll, *.exe" --includeSubDirectories --find "3.7.28-SNAPSHOT" --replace "3.7.29-SNAPSHOT"
call "C:\tools\fnr.exe" --cl --dir "C:\work\org.hl7.fhir\build" --fileMask "*.xml" --excludeFileMask "*.dll, *.exe" --find "3.7.28-SNAPSHOT" --replace "3.7.29-SNAPSHOT"
2019-03-15 14:26:38 -04:00
call mvn deploy
echo ===============================================================
echo all done
echo ===============================================================
pause