Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cd-release-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "2. Continuous Deployment (Release Preview)"
on:
push:
tags:
- "v[0-9]+\\.[0-9]+\\.[0-9]+-preview.*"
- "v[0-9]+\\.[0-9]+\\.[0-9]+-preview*"

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion CryptoNet.ConsumerTest/CryptoNet.ConsumerTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CryptoNet" Version="3.1.0" />
<PackageReference Include="CryptoNet" Version="3.1.12-preview.20251129.2241" />
</ItemGroup>

</Project>
1 change: 0 additions & 1 deletion CryptoNet.ExtPack/CryptoNet.ExtPack.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<Company>itbackyard</Company>
<Authors>Maytham Fahmi</Authors>
<MinClientVersion>1.0.0</MinClientVersion>
<Version>3.0.0</Version>
<Title>CryptoNet.ExtPack</Title>
<Product>CryptoNet.ExtPack</Product>
<RootNamespace>CryptoNet.ExtPack</RootNamespace>
Expand Down
6 changes: 4 additions & 2 deletions CryptoNet.sln
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.1.32407.343
# Visual Studio Version 18
VisualStudioVersion = 18.3.11222.16 d18.3
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CryptoNet", "CryptoNet\CryptoNet.csproj", "{8F85375C-A0DC-4B67-B934-F58ED4114F5A}"
EndProject
Expand All @@ -16,11 +16,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "DevOps", "DevOps", "{1733D1
.github\workflows\cd-release.yml = .github\workflows\cd-release.yml
.github\workflows\ci.yml = .github\workflows\ci.yml
.github\workflows\code-coverage.yml = .github\workflows\code-coverage.yml
Directory.Build.Props = Directory.Build.Props
DockerBuild.ps1 = DockerBuild.ps1
Dockerfile = Dockerfile
RELEASE-NOTES = RELEASE-NOTES
run_codecoverage.ps1 = run_codecoverage.ps1
run_codecoverage.txt = run_codecoverage.txt
run_release.ps1 = run_release.ps1
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Info", "Info", "{6976E2ED-A139-48C5-A390-639F56A8B348}"
Expand Down
4 changes: 3 additions & 1 deletion CryptoNet/CryptoNet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
<Copyright>Copyright © 2020</Copyright>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<DebugType>embedded</DebugType>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<_SkipUpgradeNetAnalyzersNuGetWarning>true</_SkipUpgradeNetAnalyzersNuGetWarning>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down Expand Up @@ -62,7 +64,7 @@
<ProjectReference Include="..\CryptoNet.Models\CryptoNet.Models.csproj" PrivateAssets="all" />
</ItemGroup>

<Target Name="IncludeReferencedDllsInPackage" BeforeTargets="GenerateNuspec">
<Target Name="IncludeReferencedDllsInPackage" AfterTargets="Build">
<ItemGroup>
<None Include="$(OutputPath)CryptoNet.ExtShared.dll">
<Pack>true</Pack>
Expand Down
6 changes: 3 additions & 3 deletions Directory.Build.Props
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<PropertyGroup>
<Authors>Maytham Fahmi and Contributors</Authors>
<Copyright>All Rights Reserved</Copyright>
<Version>3.2.0</Version>
<FileVersion>3.2.0.0</FileVersion>
<AssemblyVersion>3.2.0.0</AssemblyVersion>
<Version>3.2.5</Version>
<FileVersion>3.2.5.0</FileVersion>
<AssemblyVersion>3.2.5.0</AssemblyVersion>
</PropertyGroup>

<PropertyGroup>
Expand Down
10 changes: 5 additions & 5 deletions run_release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ if ($VersionNumber -notmatch '^\d+\.\d+\.\d+$') {
}

# Build preview suffix (valid SemVer identifiers, no leading zeros)
$DatePart = (Get-Date -Format "yyyyMMdd") # e.g. 20250822
$TimePart = (Get-Date -Format "Hmm") # e.g. 845 (not 0845, no leading zero!)
$PreviewId = "$DatePart.$TimePart" # → "20250822.845"
$DatePart = (Get-Date -Format "yyyyMMdd") # e.g 20250822
$TimePart = (Get-Date -Format "Hmm") # e.g 845 (not 0845, no leading zero!)
$PreviewId = "$DatePart$TimePart" # → "20250822845" (no dots!)

# Construct the tag
if ($IsPreview) {
# format: vX.Y.Z-preview.YYYYMMDD.HHmm
$TagName = "v$VersionNumber-preview.$PreviewId"
# format: vX.Y.Z-previewYYYYMMDDHHmm (NuGet-compliant)
$TagName = "v$VersionNumber-preview$PreviewId"
} else {
$TagName = "v$VersionNumber"
}
Expand Down