43 lines
1.6 KiB
Batchfile
Raw Normal View History

2019-03-16 05:26:38 +11:00
REM replace versions before running
REM make sure you are committed
2019-03-17 09:23:24 +11:00
echo
2019-03-16 05:26:38 +11:00
echo ===============================================================
2019-04-09 17:50:08 +10:00
echo upgrade and release fhir.core from 3.7.24-SNAPSHOT to 3.7.25-SNAPSHOT
2019-03-16 05:26:38 +11:00
echo ===============================================================
pause
2019-04-09 17:50:08 +10:00
call mvn versions:set -DnewVersion=3.7.25-SNAPSHOT
2019-03-16 05:26:38 +11:00
echo ===============================================================
echo upgraded version number using maven
echo next: do git commit / push
echo ===============================================================
pause
call git commit -a -m "Release new version"
call git push origin master
echo ===============================================================
echo done git commit / push
echo next: replace references in java code + ivy
echo ===============================================================
pause
2019-04-09 17:50:08 +10:00
call "C:\tools\fnr.exe" --cl --dir "C:\work\org.hl7.fhir\build" --fileMask "*.java" --excludeFileMask "*.dll, *.exe" --includeSubDirectories --find "3.7.24-SNAPSHOT" --replace "3.7.25-SNAPSHOT"
call "C:\tools\fnr.exe" --cl --dir "C:\work\org.hl7.fhir\build" --fileMask "*.xml" --excludeFileMask "*.dll, *.exe" --find "3.7.24-SNAPSHOT" --replace "3.7.25-SNAPSHOT"
2019-03-16 05:26:38 +11:00
echo ===============================================================
echo done replacing references
echo next: do maven release
echo ===============================================================
pause
call mvn deploy
echo ===============================================================
echo all done
echo ===============================================================
pause