Skip to content

Commit

Permalink
replace packages with source argument
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperk81 authored Oct 11, 2023
1 parent a81c0ee commit d594632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ if [[ "$AOT_BUILD_NEEDED" -eq 1 ]]; then
"${DIR}/dotnet.sh" new console -o app
"${DIR}/dotnet.sh" add app package "Microsoft.DotNet.ILCompiler" --version "$PACKAGE_VERSION" --package-directory "${CORE_ROOT}"/aot -s "${CORE_ROOT}"/aot
"${DIR}/dotnet.sh" add app package "runtime.linux-x64.microsoft.dotnet.ilcompiler" --version "$PACKAGE_VERSION" --package-directory "${CORE_ROOT}"/aot -s "${CORE_ROOT}"/aot
"${DIR}/dotnet.sh" publish -p:PublishAot=true --packages "${CORE_ROOT}"/aot app
"${DIR}/dotnet.sh" publish -p:PublishAot=true --source "${CORE_ROOT}"/aot app

ILC="$(find "${CORE_ROOT}"/aot -type f -name ilc | head -1)"
if [[ "${VERSION:0:5}" == "trunk" || "${MAJOR_VERSION}" -ge 8 ]]; then PACKAGE_VERSION="$("${ILC}" --version)"; fi
Expand Down

0 comments on commit d594632

Please sign in to comment.