syntax.Net.Mail 2.0.2
Net.Mail
# Build:
cd C:\home\projects\syntax\Net\Mail; `
$VERSION = "$([regex]::match(((Get-Content "./Net.Mail.csproj") | Select-String -Pattern "<AssemblyVersion>\d+\.\d+\.\d+</AssemblyVersion>"), "(\d+\.\d+\.)(\d+)").Groups[1].Value)$(([int][regex]::match(((Get-Content "./Net.Mail.csproj") | Select-String -Pattern "\d+\.\d+\.\d+"), "(\d+\.\d+\.)(\d+)").Groups[2].Value) + 1)"; `
(Get-Content "./Net.Mail.csproj") -replace '(<AssemblyVersion>)[\d\.]+(</AssemblyVersion>)', "`${1}$VERSION`${2}" | Out-File "./Net.Mail.csproj"; `
"Version: $VERSION"; `
$API_KEY = [regex]::match((Get-Content ./.nuget.env), 'ApiKey="([^"]+)"').Groups[1].Value; `
"API key: $API_KEY"; `
dotnet build --configuration Release; `
dotnet pack --configuration Release --output .packages -p:PackageVersion="$VERSION"; `
dotnet nuget push ".\.packages\syntax.Net.Mail.$VERSION.nupkg" -s "https://nuget.syntax-neue-medien.de/v3/index.json" -k "$API_KEY"; `
dotnet nuget push ".\.packages\syntax.Net.Mail.$VERSION.snupkg" -s "https://nuget.syntax-neue-medien.de/v3/index.json" -k "$API_KEY";
# Install:
dotnet add package syntax.Net.Mail -s "https://nuget.syntax-neue-medien.de/v3/index.json"; # -v "$VERSION"
No packages depend on syntax.Net.Mail.
.NET Standard 2.0
- No dependencies.