Skip to content

Commit 5bd96b9

Browse files
committed
linux: add new Avalonia UI helpers on Linux
1 parent 1aa3e24 commit 5bd96b9

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

src/linux/Packaging.Linux/build.sh

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ ROOT="$( cd "$THISDIR"/../../.. ; pwd -P )"
4444
SRC="$ROOT/src"
4545
OUT="$ROOT/out"
4646
GCM_SRC="$SRC/shared/Git-Credential-Manager"
47+
BITBUCKET_UI_SRC="$SRC/shared/Atlassian.Bitbucket.UI"
48+
GITHUB_UI_SRC="$SRC/shared/GitHub.UI"
4749
PROJ_OUT="$OUT/linux/Packaging.Linux"
4850

4951
# Build parameters
@@ -94,8 +96,26 @@ dotnet publish "$GCM_SRC" \
9496
--configuration="$CONFIGURATION" \
9597
--framework="$FRAMEWORK" \
9698
--runtime="$RUNTIME" \
97-
--self-contained=true \
98-
"/p:PublishSingleFile=True" \
99+
--self-contained=true \
100+
-p:PublishSingleFile=true \
101+
--output="$(make_absolute "$PAYLOAD")" || exit 1
102+
103+
echo "Publishing Bitbucket UI helper..."
104+
dotnet publish "$BITBUCKET_UI_SRC" \
105+
--configuration="$CONFIGURATION" \
106+
--framework="$FRAMEWORK" \
107+
--runtime="$RUNTIME" \
108+
--self-contained=true \
109+
-p:PublishSingleFile=true \
110+
--output="$(make_absolute "$PAYLOAD")" || exit 1
111+
112+
echo "Publishing GitHub UI helper..."
113+
dotnet publish "$GITHUB_UI_SRC" \
114+
--configuration="$CONFIGURATION" \
115+
--framework="$FRAMEWORK" \
116+
--runtime="$RUNTIME" \
117+
--self-contained=true \
118+
-p:PublishSingleFile=true \
99119
--output="$(make_absolute "$PAYLOAD")" || exit 1
100120

101121
# Collect symbols

0 commit comments

Comments
 (0)