Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6f9b3c1

Browse files
authored
chore: sign the windows installer (#14353)
1 parentf8f3d89 commit6f9b3c1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎scripts/build_windows_installer.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ source "$(dirname "${BASH_SOURCE[0]}")/lib.sh"
1919
agpl="${CODER_BUILD_AGPL:-0}"
2020
output_path=""
2121
version=""
22+
sign_windows="${CODER_SIGN_WINDOWS:-0}"
2223

2324
args="$(getopt -o"" -l agpl,output:,version: --"$@")"
2425
evalset --"$args"
@@ -51,6 +52,11 @@ if [[ "$output_path" == "" ]]; then
5152
error"--output is a required parameter"
5253
fi
5354

55+
if [["$sign_windows"== 1 ]];then
56+
dependencies java
57+
requiredenvs JSIGN_PATH EV_KEYSTORE EV_KEY EV_CERTIFICATE_PATH EV_TSA_URL GCLOUD_ACCESS_TOKEN
58+
fi
59+
5460
if [["$#"!= 1 ]];then
5561
error"Exactly one argument must be provided to this script,$# were supplied"
5662
fi
@@ -125,3 +131,7 @@ popd
125131
cp"$temp_dir/installer.exe""$output_path"
126132

127133
rm -rf"$temp_dir"
134+
135+
if [["$sign_windows"== 1 ]];then
136+
execrelative ./sign_windows.sh"$output_path"1>&2
137+
fi

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp