File tree Expand file tree Collapse file tree 3 files changed +29
-0
lines changed
windows/Installer.Windows Expand file tree Collapse file tree 3 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ ROOT="$( cd "$THISDIR"/../../.. ; pwd -P )"
47
47
SRC=" $ROOT /src"
48
48
OUT=" $ROOT /out"
49
49
GCM_SRC=" $SRC /shared/Git-Credential-Manager"
50
+ GCM_UI_SRC=" $SRC /shared/Git-Credential-Manager.UI.Avalonia"
50
51
BITBUCKET_UI_SRC=" $SRC /shared/Atlassian.Bitbucket.UI.Avalonia"
51
52
GITHUB_UI_SRC=" $SRC /shared/GitHub.UI.Avalonia"
52
53
GITLAB_UI_SRC=" $SRC /shared/GitLab.UI.Avalonia"
@@ -120,6 +121,15 @@ $DOTNET_ROOT/dotnet publish "$GCM_SRC" \
120
121
-p:PublishSingleFile=true \
121
122
--output=" $( make_absolute " $PAYLOAD " ) " || exit 1
122
123
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
+
123
133
echo " Publishing Bitbucket UI helper..."
124
134
$DOTNET_ROOT /dotnet publish " $BITBUCKET_UI_SRC " \
125
135
--configuration=" $CONFIGURATION " \
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ SRC="$ROOT/src"
21
21
OUT=" $ROOT /out"
22
22
INSTALLER_SRC=" $SRC /osx/Installer.Mac"
23
23
GCM_SRC=" $SRC /shared/Git-Credential-Manager"
24
+ GCM_UI_SRC=" $SRC /shared/Git-Credential-Manager.UI.Avalonia"
24
25
BITBUCKET_UI_SRC=" $SRC /shared/Atlassian.Bitbucket.UI.Avalonia"
25
26
GITHUB_UI_SRC=" $SRC /shared/GitHub.UI.Avalonia"
26
27
GITLAB_UI_SRC=" $SRC /shared/GitLab.UI.Avalonia"
@@ -104,6 +105,16 @@ dotnet publish "$GCM_SRC" \
104
105
--self-contained \
105
106
--output=" $( make_absolute " $PAYLOAD " ) " || exit 1
106
107
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
+
107
118
echo " Publishing Bitbucket UI helper..."
108
119
dotnet publish " $BITBUCKET_UI_SRC " \
109
120
--no-restore \
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ $THISDIR = $pwd.path
8
8
$ROOT = (Get-Item $THISDIR ).parent.parent.parent.FullName
9
9
$SRC = " $ROOT /src"
10
10
$GCM_SRC = " $SRC /shared/Git-Credential-Manager"
11
+ $GCM_UI_SRC = " $SRC /windows/Git-Credential-Manager.UI.Windows"
11
12
$BITBUCKET_UI_SRC = " $SRC /windows/Atlassian.Bitbucket.UI.Windows"
12
13
$GITHUB_UI_SRC = " $SRC /windows/GitHub.UI.Windows"
13
14
$GITLAB_UI_SRC = " $SRC /windows/GitLab.UI.Windows"
@@ -45,6 +46,13 @@ dotnet publish "$GCM_SRC" `
45
46
-- runtime win- x86 `
46
47
-- output " $PAYLOAD "
47
48
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
+
48
56
Write-Output " Publishing Bitbucket UI helper..."
49
57
dotnet publish " $BITBUCKET_UI_SRC " `
50
58
-- configuration " $CONFIGURATION " `
You can’t perform that action at this time.
0 commit comments