Skip to content

[Improvement] Make pre-built binaries standalone #3587

@fuero

Description

@fuero

Is your improvement request related to a problem? Please describe.
I'd like to use GitVersion standalone without the .Net Framework present

Detailed Description

Provide another set of binaries that are built like this (example for Linux):

  dotnet publish \
    src/GitVersion.App/GitVersion.App.csproj \
    --runtime linux-x64 \
    --framework net6.0 \
    --sc \
    -o "${srcdir}/build" \
    /p:DebugType=None \
    /p:DebugSymbols=false \
    -p:PublishTrimmed=false \
    -p:PublishReadyToRun=true \
    -p:PublishSingleFile=true \
    -p:IncludeNativeLibrariesForSelfExtract=true

I'm building GitVersion this way in the AUR package I created: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=gitversion

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions