syntax.ImageFx.Quantizer 2.0.5
ImageFx.Quantizer
# Build:
cd C:\home\projects\syntax\Util\_NG\ImageFx.Quantizer; `
$VERSION = "$([regex]::match(((Get-Content "./ImageFx.Quantizer.csproj") | Select-String -Pattern "<AssemblyVersion>\d+\.\d+\.\d+</AssemblyVersion>"), "(\d+\.\d+\.)(\d+)").Groups[1].Value)$(([int][regex]::match(((Get-Content "./ImageFx.Quantizer.csproj") | Select-String -Pattern "\d+\.\d+\.\d+"), "(\d+\.\d+\.)(\d+)").Groups[2].Value) + 1)"; `
(Get-Content "./ImageFx.Quantizer.csproj") -replace '(<AssemblyVersion>)[\d\.]+(</AssemblyVersion>)', "`${1}$VERSION`${2}" | Out-File "./ImageFx.Quantizer.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.ImageFx.Quantizer.$VERSION.nupkg" -s "https://nuget.syntax-neue-medien.de/v3/index.json" -k "$API_KEY";
# Install:
dotnet add package syntax.ImageFx.Quantizer -s "https://nuget.syntax-neue-medien.de/v3/index.json"; # -v "$VERSION"
No packages depend on syntax.ImageFx.Quantizer.
.NET Standard 2.0
- System.Drawing.Common (>= 5.0.2)