Skip to content

Commit feb02ce

Browse files
committed
install: include core UI app in all installers
1 parent be9b83d commit feb02ce

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

src/linux/Packaging.Linux/build.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ ROOT="$( cd "$THISDIR"/../../.. ; pwd -P )"
4747
SRC="$ROOT/src"
4848
OUT="$ROOT/out"
4949
GCM_SRC="$SRC/shared/Git-Credential-Manager"
50+
GCM_UI_SRC="$SRC/shared/Git-Credential-Manager.UI.Avalonia"
5051
BITBUCKET_UI_SRC="$SRC/shared/Atlassian.Bitbucket.UI.Avalonia"
5152
GITHUB_UI_SRC="$SRC/shared/GitHub.UI.Avalonia"
5253
GITLAB_UI_SRC="$SRC/shared/GitLab.UI.Avalonia"
@@ -120,6 +121,15 @@ $DOTNET_ROOT/dotnet publish "$GCM_SRC" \
120121
-p:PublishSingleFile=true \
121122
--output="$(make_absolute "$PAYLOAD")" || exit 1
122123

124+
echo "Publishing core UI helper..."
125+
$DOTNET_ROOT/dotnet publish "$GCM_UI_SRC" \
126+
--configuration="$CONFIGURATION" \
127+
--framework="$FRAMEWORK" \
128+
--runtime="$RUNTIME" \
129+
--self-contained=true \
130+
-p:PublishSingleFile=true \
131+
--output="$(make_absolute "$PAYLOAD")" || exit 1
132+
123133
echo "Publishing Bitbucket UI helper..."
124134
$DOTNET_ROOT/dotnet publish "$BITBUCKET_UI_SRC" \
125135
--configuration="$CONFIGURATION" \

src/osx/Installer.Mac/layout.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ SRC="$ROOT/src"
2121
OUT="$ROOT/out"
2222
INSTALLER_SRC="$SRC/osx/Installer.Mac"
2323
GCM_SRC="$SRC/shared/Git-Credential-Manager"
24+
GCM_UI_SRC="$SRC/shared/Git-Credential-Manager.UI.Avalonia"
2425
BITBUCKET_UI_SRC="$SRC/shared/Atlassian.Bitbucket.UI.Avalonia"
2526
GITHUB_UI_SRC="$SRC/shared/GitHub.UI.Avalonia"
2627
GITLAB_UI_SRC="$SRC/shared/GitLab.UI.Avalonia"
@@ -104,6 +105,16 @@ dotnet publish "$GCM_SRC" \
104105
--self-contained \
105106
--output="$(make_absolute "$PAYLOAD")" || exit 1
106107

108+
echo "Publishing core UI helper..."
109+
dotnet publish "$GCM_UI_SRC" \
110+
--no-restore \
111+
-m:1 \
112+
--configuration="$CONFIGURATION" \
113+
--framework="$FRAMEWORK" \
114+
--runtime="$RUNTIME" \
115+
--self-contained \
116+
--output="$(make_absolute "$PAYLOAD")" || exit 1
117+
107118
echo "Publishing Bitbucket UI helper..."
108119
dotnet publish "$BITBUCKET_UI_SRC" \
109120
--no-restore \

src/windows/Installer.Windows/layout.ps1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ $THISDIR = $pwd.path
88
$ROOT = (Get-Item $THISDIR).parent.parent.parent.FullName
99
$SRC = "$ROOT/src"
1010
$GCM_SRC = "$SRC/shared/Git-Credential-Manager"
11+
$GCM_UI_SRC = "$SRC/windows/Git-Credential-Manager.UI.Windows"
1112
$BITBUCKET_UI_SRC = "$SRC/windows/Atlassian.Bitbucket.UI.Windows"
1213
$GITHUB_UI_SRC = "$SRC/windows/GitHub.UI.Windows"
1314
$GITLAB_UI_SRC = "$SRC/windows/GitLab.UI.Windows"
@@ -45,6 +46,13 @@ dotnet publish "$GCM_SRC" `
4546
--runtime win-x86 `
4647
--output "$PAYLOAD"
4748

49+
Write-Output "Publishing core UI helper..."
50+
dotnet publish "$GCM_UI_SRC" `
51+
--framework net472 `
52+
--configuration "$CONFIGURATION" `
53+
--runtime win-x86 `
54+
--output "$PAYLOAD"
55+
4856
Write-Output "Publishing Bitbucket UI helper..."
4957
dotnet publish "$BITBUCKET_UI_SRC" `
5058
--configuration "$CONFIGURATION" `

0 commit comments

Comments
 (0)