Skip to content

Commit

Permalink
Release Version 3.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamegrieve committed Mar 18, 2024
1 parent 40b4b72 commit 36ce698
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 36 deletions.
13 changes: 0 additions & 13 deletions build/windows-fhirserver.bat
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,6 @@ del *.o /s /q
%tmp%\tools\lazarus\lazbuild.exe server/fhirserver.lpr --build-mode=win64 -q -q --build-all
%tmp%\tools\lazarus\lazbuild.exe toolkit2/fhirtoolkit.lpr --build-mode=win64 -q -q --build-all

copy exec\64\fhirserver.exe exec\64\FHIRServer.debug.exe
del exec\64\fhirserver.exe
copy exec\64\fhirconsole.exe exec\64\FHIRConsole.debug.exe
del exec\64\fhirconsole.exe
copy exec\64\fhirtoolkit.exe exec\64\FHIRToolkit.debug.exe
del exec\64\fhirtoolkit.exe

del *.ppu /s /q
del *.o /s /q

%tmp%\tools\lazarus\lazbuild.exe server/fhirconsole.lpi --build-mode=win64-release -q -q --build-all
%tmp%\tools\lazarus\lazbuild.exe server/fhirserver.lpr --build-mode=win64-release -q -q --build-all
%tmp%\tools\lazarus\lazbuild.exe toolkit2/fhirtoolkit.lpr --build-mode=win64-release -q -q --build-all

:: =========================================================================================
:: build the web file
Expand Down
18 changes: 2 additions & 16 deletions build/windows-release.bat
Original file line number Diff line number Diff line change
Expand Up @@ -44,28 +44,18 @@ exit /b 1
call build\windows-libraries.bat %tmp%
rem call build\windows-fhirserver.bat %tmp%

pause


pause

utilities\codescan\codescan.exe -check library\version.inc -message "Not run from the right directory - run in the root directory of the repo" || goto :error
del library\version.inc
utilities\codescan\codescan.exe -check !library\version.inc -message "setting up the version failed" || goto :error
utilities\codescan\codescan.exe -version %1
utilities\codescan\codescan.exe -check library\version.inc -message "saving the version failed" || goto :error
utilities\codescan\codescan.exe -check release-notes.md -message "Please provide some release notes" || goto :error

pause

utilities\codescan\codescan.exe -proj-version c:\work\fhirserver\server\fhirconsole.lpi -version %1 -debug false || goto :error
utilities\codescan\codescan.exe -proj-version server\fhirserver.lpi -version %1 -debug true || goto :error
utilities\codescan\codescan.exe -proj-version server\fhirserver.lpi -version %1 -debug false || goto :error
utilities\codescan\codescan.exe -proj-version toolkit2\fhirtoolkit.lpi -version %1 -debug false || goto :error

pause

REM OK, do the real builds
del exec\64\*.exe /q /s 1>nul
del install\build\*.exe 1>nul
del release-notes-old.md 1>nul
Expand All @@ -92,15 +82,11 @@ del *.o /s /q
%tmp%\tools\lazarus\lazbuild.exe server/fhirserver.lpr --build-mode=win64-release -q -q --build-all
%tmp%\tools\lazarus\lazbuild.exe toolkit2/fhirtoolkit.lpr --build-mode=win64-release -q -q --build-all

pause

utilities\codescan\codescan.exe -check exec\64\fhirconsole.exe -message "Building the console failed" || goto :error
utilities\codescan\codescan.exe -check exec\64\fhirserver.debug.exe -message "Building the Debug server failed" || goto :error
utilities\codescan\codescan.exe -check exec\64\fhirserver.exe -message "Building the server failed" || goto :error
utilities\codescan\codescan.exe -check exec\64\fhirtoolkit.exe -message "Building the toolkit failed" || goto :error

pause

exec\64\fhirserver.debug.exe -tests -test-settings exec\64\fhir-tests.ini -mode brief

if errorlevel 1 goto Quit
Expand Down Expand Up @@ -143,9 +129,9 @@ cd ..
echo ## GitHub Release ##
git commit -a -m "Release Version %1"
git push
pause

install\tools\gh release create v%1 "install\build\fhirserver-win64-%1.exe#Windows Server Installer" "install\build\fhirserver-win64-%1.zip#Windows Server Installer Zip" "install\build\fhirtoolkit-win64-%1.exe#Windows Toolkit Installer" -F release-notes.md
pause

rename release-notes.md release-notes-old.md

utilities\codescan\codescan.exe -next-version %1
Expand Down
2 changes: 0 additions & 2 deletions build/windows-update.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,5 @@ set "tmp=%1"
:No1

call build\windows-libraries.bat %tmp%
pause

call build\windows-fhirserver.bat %tmp%
pause
4 changes: 2 additions & 2 deletions library/version.inc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FHIR_CODE_FULL_VERSION = '3.4.2';
FHIR_CODE_RELEASE_DATE = '2024-03-13';
FHIR_CODE_RELEASE_DATETIME = '20240313112143.208Z';
FHIR_CODE_RELEASE_DATE = '2024-03-18';
FHIR_CODE_RELEASE_DATETIME = '20240318122018.112Z';
6 changes: 3 additions & 3 deletions server/fhirserver.lpi
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<ProjectOptions>
<Version Value="12"/>
Expand All @@ -20,7 +19,8 @@
<UseVersionInfo Value="True"/>
<MajorVersionNr Value="3"/>
<MinorVersionNr Value="4"/>
<RevisionNr Value="1"/>
<RevisionNr Value="2"/>
<Attributes pvaDebug="False"/>
</VersionInfo>
<BuildModes Count="8">
<Item1 Name="default" Default="True"/>
Expand Down Expand Up @@ -1032,7 +1032,7 @@
<Name Value="EPackageCrawlerException"/>
</Item50>
<Item51>
<Name Value="&lt;Unknown Class>"/>
<Name Value="&lt;Unknown Class&gt;"/>
</Item51>
<Item52>
<Name Value="EDateFormatError"/>
Expand Down

0 comments on commit 36ce698

Please sign in to comment.