diff --git a/Janus/WebRtcJanusService.csproj b/Janus/WebRtcJanusService.csproj index a15afd6..4f4b3dc 100644 --- a/Janus/WebRtcJanusService.csproj +++ b/Janus/WebRtcJanusService.csproj @@ -2,6 +2,7 @@ net8.0 +1.0.4 false Library false @@ -27,6 +28,7 @@ false True False +1.0.4 False ../../../bin/ False @@ -50,6 +52,7 @@ false True False +1.0.4 False ../../../bin/ False diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..ee90284 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +1.0.4 diff --git a/WebRtcVoice/WebRtcVoice.csproj b/WebRtcVoice/WebRtcVoice.csproj index f7be691..fb8456b 100644 --- a/WebRtcVoice/WebRtcVoice.csproj +++ b/WebRtcVoice/WebRtcVoice.csproj @@ -2,6 +2,7 @@ net8.0 +1.0.4 false Library false @@ -27,6 +28,7 @@ false True False +1.0.4 False ../../../bin/ False @@ -50,6 +52,7 @@ false True False +1.0.4 False ../../../bin/ False diff --git a/WebRtcVoiceRegionModule/WebRtcVoiceRegionModule.csproj b/WebRtcVoiceRegionModule/WebRtcVoiceRegionModule.csproj index 3294039..8d966ba 100644 --- a/WebRtcVoiceRegionModule/WebRtcVoiceRegionModule.csproj +++ b/WebRtcVoiceRegionModule/WebRtcVoiceRegionModule.csproj @@ -2,6 +2,7 @@ net8.0 +1.0.4 false Library false @@ -27,6 +28,7 @@ false True False +1.0.4 False ../../../bin/ False @@ -50,6 +52,7 @@ false True False +1.0.4 False ../../../bin/ False diff --git a/WebRtcVoiceServiceModule/WebRtcVoiceServiceModule.csproj b/WebRtcVoiceServiceModule/WebRtcVoiceServiceModule.csproj index 3c6e6e2..bb9f928 100644 --- a/WebRtcVoiceServiceModule/WebRtcVoiceServiceModule.csproj +++ b/WebRtcVoiceServiceModule/WebRtcVoiceServiceModule.csproj @@ -2,6 +2,7 @@ net8.0 +1.0.4 false Library false @@ -27,6 +28,7 @@ false True False +1.0.4 False ../../../bin/ False @@ -50,6 +52,7 @@ false True False +1.0.4 False ../../../bin/ False diff --git a/updateVersion.sh b/updateVersion.sh new file mode 100755 index 0000000..6459a05 --- /dev/null +++ b/updateVersion.sh @@ -0,0 +1,14 @@ +#! /bin/bash +# Script to add the number from the VERSION file to the .csproj of the sub-projects +# Run this just after running runprebuild.sh to add versions to the .csproj files. + +BASE=$(pwd) + +VERSION=$(cat VERSION) + +for proj in Janus WebRtcVoice WebRtcVoiceRegionModule WebRtcVoiceServiceModule ; do + cd "$BASE" + cd "$proj" + sed -i "/TargetFramework/a $VERSION" *.csproj + #dotnet msbuild -t:UpdateVersion -p:Version=$VERSION +done