Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,12 @@ all: check build

# --- Packaging ---

# Create NuGet package
# Create NuGet package with version from CHANGELOG.md
pack:
dotnet build {{src_path}}
dotnet pack {{src_path}} -c Release
#!/usr/bin/env bash
set -euo pipefail
VERSION=$(grep -m1 '^## ' CHANGELOG.md | sed 's/^## \([^ ]*\).*/\1/')
dotnet pack {{src_path}} -c Release -p:PackageVersion=$VERSION -p:InformationalVersion=$VERSION

# Create NuGet package with specific version (used in CI)
pack-version version:
Expand Down
Loading