2019-03-16 05:26:38 +11:00
REM replace versions before running
REM make sure you are committed
2019-05-21 10:39:51 +10:00
@ echo off
2019-05-22 11:13:47 +10:00
echo ..
2019-05-21 10:39:51 +10:00
echo =====================================================================
2019-06-03 19:39:05 +10:00
echo upgrade and release fhir.core from 3.7.41-SNAPSHOT to 3.7.42-SNAPSHOT
2019-05-21 10:39:51 +10:00
echo =====================================================================
2019-05-22 11:13:47 +10:00
echo ..
2019-05-21 10:39:51 +10:00
echo check versions and make sure committed...
2019-03-16 05:26:38 +11:00
pause
2019-06-03 19:39:05 +10:00
call mvn versions:set -DnewVersion=3.7.42-SNAPSHOT
2019-03-16 05:26:38 +11:00
call git commit -a -m " Release new version "
call git push origin master
2019-06-03 19:39:05 +10:00
call " C:\tools\fnr.exe " --cl --dir " C:\work\org.hl7.fhir\build " --fileMask " *.java " --includeSubDirectories --find " 3.7.41-SNAPSHOT " --replace " 3.7.42-SNAPSHOT "
call " C:\tools\fnr.exe " --cl --dir " C:\work\org.hl7.fhir\fhir-ig-publisher " --fileMask " *.xml " --includeSubDirectories --find " 3.7.41-SNAPSHOT " --replace " 3.7.42-SNAPSHOT "
call " C:\tools\fnr.exe " --cl --dir " C:\work\org.hl7.fhir\build " --fileMask " *.xml " --find " 3.7.41-SNAPSHOT " --replace " 3.7.42-SNAPSHOT "
2019-03-16 05:26:38 +11:00
call mvn deploy
2019-06-03 19:39:05 +10:00
copy org.hl7.fhir.validation.cli\target\org.hl7.fhir.validation.cli-3.7.42-SNAPSHOT.jar ..\latest-ig-publisher\org.hl7.fhir.validator.jar
2019-05-22 11:45:02 +10:00
cd ..\latest-ig-publisher
2019-06-03 19:39:05 +10:00
call git commit -a -m " Release new version 3.7.42-SNAPSHOT "
2019-05-22 11:45:02 +10:00
call git push origin master
2019-05-23 13:39:21 +10:00
cd ..\org.hl7.fhir.core
2019-06-03 19:39:05 +10:00
call python c:\tools\zulip-api\zulip\zulip\send.py --stream committers/notification --subject " java core " -m " New Java Core v3.7.42-SNAPSHOT released. New Validator at https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=ca.uhn.hapi.fhir&a=org.hl7.fhir.validation.cli&v=3.7.42-SNAPSHOT&e=jar, and also deployed at https://fhir.github.io/latest-ig-publisher/org.hl7.fhir.validator.jar " --config-file zuliprc
2019-03-16 05:26:38 +11:00
echo ===============================================================
echo all done
echo ===============================================================
pause