diff --git a/CONTRIBUTION.md b/CONTRIBUTION.md index 8b288e9..59b4328 100644 --- a/CONTRIBUTION.md +++ b/CONTRIBUTION.md @@ -34,7 +34,7 @@ The csproj enables `ServerGarbageCollection`, `ConcurrentGarbageCollection`, `Ti Use `release.bat` from the repository root to prepare a local release commit and tag: ```powershell -.\release.bat 0.1.1 +.\release.bat 0.1.4 ``` The script updates `` in `src\Jesnote.csproj`, builds the Release configuration, commits the current working-tree changes, and creates tag locally. It does not push anything automatically. @@ -42,7 +42,7 @@ The script updates `` in `src\Jesnote.csproj`, builds the Release confi Review `git status` before running it because the script commits all current changes. When the local release looks correct, push the branch and tag manually: ```powershell -git push origin main v0.1.1 +git push origin main v0.1.4 ``` GitHub Actions will build and publish Windows x64 and Apple Silicon macOS release assets after the tag is pushed. The workflow publishes framework-dependent packages (`--self-contained false`), so end users need the .NET 8 Runtime installed. diff --git a/release.bat b/release.bat index 87112a5..fa1e005 100644 --- a/release.bat +++ b/release.bat @@ -3,7 +3,7 @@ setlocal EnableExtensions if "%~1"=="" ( echo Usage: %~nx0 VERSION - echo Example: %~nx0 0.1.1 + echo Example: %~nx0 0.1.4 exit /b 1 ) @@ -37,7 +37,7 @@ echo Updating src\Jesnote.csproj to %VERSION%... powershell -NoProfile -ExecutionPolicy Bypass -Command ^ "$ErrorActionPreference='Stop';" ^ "$version=$env:VERSION;" ^ - "if ($version -notmatch '^\d+\.\d+\.\d+([.-][A-Za-z0-9.-]+)?$') { throw 'Version must look like 0.1.1' }" ^ + "if ($version -notmatch '^\d+\.\d+\.\d+([.-][A-Za-z0-9.-]+)?$') { throw 'Version must look like 0.1.4' }" ^ "$path='src\Jesnote.csproj';" ^ "$content=[IO.File]::ReadAllText($path,[Text.Encoding]::UTF8);" ^ "if ($content -notmatch '[^<]+') { throw 'Could not find in src\Jesnote.csproj' }" ^ diff --git a/src/Jesnote.csproj b/src/Jesnote.csproj index d7fb659..892bb07 100644 --- a/src/Jesnote.csproj +++ b/src/Jesnote.csproj @@ -15,7 +15,7 @@ Jesnote Elykdez A desktop app for viewing large JSON files. - 0.1.2 + 0.1.4 (c) 2026 Elykdez true @@ -37,4 +37,4 @@ - \ No newline at end of file +