diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5ef9632..19a44f1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,8 +11,8 @@ env: DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 DOTNET_VERSION: 8.0.x NODE_VERSION: 20.x - SERILOG_EXPRESSIONS_FORMATTING_PACKAGE_JSON: src/Serilog.Expressions.Formatting/package.json - SERILOG_EXPRESSIONS_FORMATTING_CSPROJ: src/Serilog.Expressions.Formatting/Serilog.Expressions.Formatting.csproj + SERILOG_EXPRESSIONS_FORMATTING_PACKAGE_JSON: ./src/Serilog.Expressions.Formatting/package.json + SERILOG_EXPRESSIONS_FORMATTING_CSPROJ: ./src/Serilog.Expressions.Formatting/Serilog.Expressions.Formatting.csproj jobs: release: name: Release diff --git a/build/version.sh b/build/version.sh index cd84f92..b16c4fb 100644 --- a/build/version.sh +++ b/build/version.sh @@ -5,6 +5,7 @@ CSPROJ_PATH="$2" PACKAGE_NAME="$3" set -xe +pwd yarn run changeset:version VERSION=$(jq -r '.version' "$PACKAGE_JSON_PATH") sed -i "s#.*#$VERSION#" "$CSPROJ_PATH"