From 36336fd9b421fc9db5990a29b3e9f93f7ae0384e Mon Sep 17 00:00:00 2001 From: Xavier Pinho Date: Tue, 8 Apr 2025 19:01:18 +0100 Subject: [PATCH 1/2] dotnet csproj instead of sln --- build-with-version.sh | 2 +- publish-release.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build-with-version.sh b/build-with-version.sh index a091eae..b805b72 100755 --- a/build-with-version.sh +++ b/build-with-version.sh @@ -4,4 +4,4 @@ VERSION=${1:-$LATEST_TAG} echo "Running build with assigned version: $VERSION"; -dotnet build -c Release /p:Version=$VERSION /p:AssemblyVersion=$VERSION +dotnet build ./DotNetAstGen/DotNetAstGen.csproj -c Release /p:Version=$VERSION /p:AssemblyVersion=$VERSION diff --git a/publish-release.sh b/publish-release.sh index 3182ce7..2fcf392 100755 --- a/publish-release.sh +++ b/publish-release.sh @@ -25,4 +25,4 @@ fi OUTPUT_PATH="$RELEASE_DIR/$OUTPUT_TARGET" TARGET="$OS-$ARCH" -dotnet publish -c Release -r $TARGET -o $OUTPUT_PATH +dotnet publish ./DotNetAstGen/DotNetAstGen.csproj -c Release -r $TARGET -o $OUTPUT_PATH From 4aeafdf8438ac304dd74b8af4ef1b4f0c2ea9fdc Mon Sep 17 00:00:00 2001 From: Xavier Pinho Date: Tue, 8 Apr 2025 19:11:01 +0100 Subject: [PATCH 2/2] rollback build-with-version.sh since it does not specify an output path, it doesn't seem relevant to change it here --- build-with-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-with-version.sh b/build-with-version.sh index b805b72..a091eae 100755 --- a/build-with-version.sh +++ b/build-with-version.sh @@ -4,4 +4,4 @@ VERSION=${1:-$LATEST_TAG} echo "Running build with assigned version: $VERSION"; -dotnet build ./DotNetAstGen/DotNetAstGen.csproj -c Release /p:Version=$VERSION /p:AssemblyVersion=$VERSION +dotnet build -c Release /p:Version=$VERSION /p:AssemblyVersion=$VERSION