Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.1 KB

File metadata and controls

34 lines (24 loc) · 1.1 KB

Release Guide

This repository publishes Photo Cutter through GitHub Releases.

Automated release flow (recommended)

  1. Ensure main contains your final release commit.

  2. Create an annotated semantic version tag and push only that tag:

    git tag -a v1.2.0 -m "Photo Cutter v1.2.0"
    git push origin v1.2.0
  3. GitHub Actions workflow Release Windows App will:

    • Restore and build the complete solution
    • Run every regression check
    • Publish a single-file Windows executable
    • Create/update a GitHub Release
    • Upload one clear download: PhotoCutter.exe

The release workflow is tag-only so the published executable always comes from the tagged commit.

Local publish command

dotnet publish .\\solution\\ImageUiSlicer\\ImageUiSlicer.csproj -c Release -r win-x64 --self-contained true /p:PublishSingleFile=true /p:IncludeAllContentForSelfExtract=true /p:EnableCompressionInSingleFile=true /p:DebugType=None /p:DebugSymbols=false

Published binary output:

solution/ImageUiSlicer/bin/Release/net8.0-windows/win-x64/publish/ImageUiSlicer.exe