Skip to content

Commit

Permalink
Fix version tag formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Freezor committed Jun 6, 2024
1 parent d2a98da commit ab6e31e
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/AasCore.Aas3_0/AasCore.Aas3_0.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<LangVersion>8</LangVersion>

<PackageId>AasCore.Aas3_0</PackageId>
<Version>0.3.0-6-alpha-develop</Version>
<Version>0.3.0-2-alpha-develop</Version>
<Authors>Marko Ristin</Authors>
<Description>
An SDK for manipulating, verifying and de/serializing Asset Administration Shells.
Expand Down
2 changes: 1 addition & 1 deletion src/AasSecurity/AasSecurity.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>0.3.0-6-alpha-develop</Version>
<Version>0.3.0-2-alpha-develop</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/AasxCsharpLibrary/AasxCsharpLibrary.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<OutputType>Library</OutputType>
<RootNamespace>AdminShellNS</RootNamespace>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<Version>0.3.0-6-alpha-develop</Version>
<Version>0.3.0-2-alpha-develop</Version>
</PropertyGroup>
<PropertyGroup>
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
Expand Down
2 changes: 1 addition & 1 deletion src/AasxServerAspNetCore/AasxServerAspNetCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Version>0.3.0-6-alpha-develop</Version>
<Version>0.3.0-2-alpha-develop</Version>
</PropertyGroup>
<PropertyGroup>
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
Expand Down
2 changes: 1 addition & 1 deletion src/AasxServerBlazor/AasxServerBlazor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<SatelliteResourceLanguages>en-US;de-DE</SatelliteResourceLanguages>
<Version>0.3.0-6-alpha-develop</Version>
<Version>0.3.0-2-alpha-develop</Version>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down
2 changes: 1 addition & 1 deletion src/AasxServerStandardBib/AasxServerStandardBib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<TargetFramework>net6.0</TargetFramework>
<SatelliteResourceLanguages>en-US;de-DE</SatelliteResourceLanguages>
<UserSecretsId>ef550880-6a5f-4e0c-b634-8284f1dc5445</UserSecretsId>
<Version>0.3.0-6-alpha-develop</Version>
<Version>0.3.0-2-alpha-develop</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/DataTransferObjects/DataTransferObjects.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>0.3.0-6-alpha-develop</Version>
<Version>0.3.0-2-alpha-develop</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/IO.Swagger.Lib.V3/IO.Swagger.Lib.V3.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<AssemblyName>IO.Swagger.Lib.V3</AssemblyName>
<PackageId>IO.Swagger</PackageId>
<OutputType>Library</OutputType>
<Version>0.3.0-6-alpha-develop</Version>
<Version>0.3.0-2-alpha-develop</Version>
</PropertyGroup>
<PropertyGroup>
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<AssemblyName>IO.Swagger.Registry.Lib.V3</AssemblyName>
<PackageId>IO.Swagger.Registry</PackageId>
<OutputType>Library</OutputType>
<Version>0.3.0-6-alpha-develop</Version>
<Version>0.3.0-2-alpha-develop</Version>
</PropertyGroup>
<PropertyGroup>
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
Expand Down
4 changes: 2 additions & 2 deletions src/PackageRelease.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ function GetVersion {

function UpdateProjectVersions($version) {
# Get all csproj files in the solution.
$projectFiles = Get-ChildItem -Path "$\..\" -Recurse -Filter *.csproj
$projectFiles = Get-ChildItem -Path "$PSScriptRoot\.." -Recurse -Filter *.csproj

# Iterate through each project file and update the <Version> tag.
foreach ($file in $projectFiles) {
Write-Host "Updating version in $($file.FullName)"
(Get-Content -Path $file.FullName) | ForEach-Object {
$_ -replace '<Version>.*<\/Version>', "<Version>$version<\/Version>"
$_ -replace '<Version>.*<\/Version>', "<Version>$version</Version>"
} | Set-Content -Path $file.FullName
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/current_build_number.cfg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1
2
2 changes: 1 addition & 1 deletion src/es6numberserializer/es6numberserializer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.3.0-6-alpha-develop</Version>
<Version>0.3.0-2-alpha-develop</Version>
</PropertyGroup>

</Project>
2 changes: 1 addition & 1 deletion src/jsoncanonicalizer/jsoncanonicalizer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.3.0-6-alpha-develop</Version>
<Version>0.3.0-2-alpha-develop</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit ab6e31e

Please sign in to comment.