Skip to content
This repository was archived by the owner on Nov 6, 2018. It is now read-only.

Commit 792ccb8

Browse files
author
Nate McMaster
committed
automated: merge branch release/2.2
2 parents f10bc4b + 825947a commit 792ccb8

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

Directory.Build.props

-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
<RepositoryRoot>$(MSBuildThisFileDirectory)</RepositoryRoot>
1515
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)build\Key.snk</AssemblyOriginatorKeyFile>
1616
<SignAssembly>true</SignAssembly>
17-
<AssemblySigningCertName>Microsoft</AssemblySigningCertName>
18-
<PackageSigningCertName>MicrosoftNuGet</PackageSigningCertName>
19-
<PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
2017
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
2118
</PropertyGroup>
2219

run.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -220,27 +220,27 @@ if [ -f "$config_file" ]; then
220220
config_channel="$(jq -r 'select(.channel!=null) | .channel' "$config_file")"
221221
config_tools_source="$(jq -r 'select(.toolsSource!=null) | .toolsSource' "$config_file")"
222222
else
223-
_error "$config_file contains invalid JSON."
223+
__error "$config_file contains invalid JSON."
224224
exit 1
225225
fi
226226
elif __machine_has python ; then
227227
if python -c "import json,codecs;obj=json.load(codecs.open('$config_file', 'r', 'utf-8-sig'))" >/dev/null ; then
228228
config_channel="$(python -c "import json,codecs;obj=json.load(codecs.open('$config_file', 'r', 'utf-8-sig'));print(obj['channel'] if 'channel' in obj else '')")"
229229
config_tools_source="$(python -c "import json,codecs;obj=json.load(codecs.open('$config_file', 'r', 'utf-8-sig'));print(obj['toolsSource'] if 'toolsSource' in obj else '')")"
230230
else
231-
_error "$config_file contains invalid JSON."
231+
__error "$config_file contains invalid JSON."
232232
exit 1
233233
fi
234234
elif __machine_has python3 ; then
235235
if python3 -c "import json,codecs;obj=json.load(codecs.open('$config_file', 'r', 'utf-8-sig'))" >/dev/null ; then
236236
config_channel="$(python3 -c "import json,codecs;obj=json.load(codecs.open('$config_file', 'r', 'utf-8-sig'));print(obj['channel'] if 'channel' in obj else '')")"
237237
config_tools_source="$(python3 -c "import json,codecs;obj=json.load(codecs.open('$config_file', 'r', 'utf-8-sig'));print(obj['toolsSource'] if 'toolsSource' in obj else '')")"
238238
else
239-
_error "$config_file contains invalid JSON."
239+
__error "$config_file contains invalid JSON."
240240
exit 1
241241
fi
242242
else
243-
_error 'Missing required command: jq or python. Could not parse the JSON file.'
243+
__error 'Missing required command: jq or python. Could not parse the JSON file.'
244244
exit 1
245245
fi
246246

0 commit comments

Comments
 (0)