@@ -59,13 +59,8 @@ DOTTED_VERSION_STRING="${VERSION_STRING//_/.}"
5959
6060
6161if [ $RUN_CODE_SIGNING = true ]; then
62- echo -e " $INFO Code signing is enabled. provide the key file path >"
63- read CODE_SIGNING_KEY_FILE
64- fi
65-
66- if [ $RUN_CODE_SIGNING = true ]; then
67- echo -e " $INFO Code signing is enabled. Please enter your password >"
68- read CODE_SIGNING_PASSWORD
62+ echo -e " $INFO Code signing is enabled. provide the key's sh1 thumbprint >"
63+ read CODE_SIGNING_THUMBPRINT
6964fi
7065
7166
@@ -94,13 +89,13 @@ echo -e "$INFO Building the project"
9489
9590if [ $RUN_CODE_SIGNING = true ]; then
9691 echo -e " $INFO Signing the app"
97- signtool.exe sign //f $CODE_SIGNING_KEY_FILE //p $CODE_SIGNING_PASSWORD //t " http://timestamp.verisign.com/scripts/timstamp.dll" //d " Sourcetrail ${DOTTED_VERSION_STRING} " //du " https://www.sourcetrail.com/" //v build/Release/app/Sourcetrail.exe
92+ signtool.exe sign //sha1 $CODE_SIGNING_THUMBPRINT //fd sha256 //t " http://timestamp.verisign.com/scripts/timstamp.dll" //d " Sourcetrail ${DOTTED_VERSION_STRING} " //du " https://www.sourcetrail.com/" //v build/Release/app/Sourcetrail.exe
9893
9994 echo -e " $INFO Signing the indexer"
100- signtool.exe sign //f $CODE_SIGNING_KEY_FILE //p $CODE_SIGNING_PASSWORD //t " http://timestamp.verisign.com/scripts/timstamp.dll" //d " Sourcetrail Indexer ${DOTTED_VERSION_STRING} " //du " https://www.sourcetrail.com/" //v build/Release/app/sourcetrail_indexer.exe
95+ signtool.exe sign //sha1 $CODE_SIGNING_THUMBPRINT //fd sha256 //t " http://timestamp.verisign.com/scripts/timstamp.dll" //d " Sourcetrail Indexer ${DOTTED_VERSION_STRING} " //du " https://www.sourcetrail.com/" //v build/Release/app/sourcetrail_indexer.exe
10196
10297 echo -e " $INFO Signing the Python indexer"
103- signtool.exe sign //f $CODE_SIGNING_KEY_FILE //p $CODE_SIGNING_PASSWORD //t " http://timestamp.verisign.com/scripts/timstamp.dll" //d " Sourcetrail Python Indexer" //du " https://github.com/CoatiSoftware/SourcetrailPythonIndexer" //v bin/app/data/python/SourcetrailPythonIndexer.exe
98+ signtool.exe sign //sha1 $CODE_SIGNING_THUMBPRINT //fd sha256 //t " http://timestamp.verisign.com/scripts/timstamp.dll" //d " Sourcetrail Python Indexer" //du " https://github.com/CoatiSoftware/SourcetrailPythonIndexer" //v bin/app/data/python/SourcetrailPythonIndexer.exe
10499fi
105100
106101
@@ -156,7 +151,7 @@ cd ../../..
156151
157152if [ $RUN_CODE_SIGNING = true ]; then
158153 echo -e " $INFO Signing the 64 bit windows installer"
159- signtool.exe sign //f $CODE_SIGNING_KEY_FILE //p $CODE_SIGNING_PASSWORD //t " http://timestamp.verisign.com/scripts/timstamp.dll" //d " Sourcetrail ${DOTTED_VERSION_STRING} Installer" //du " https://www.sourcetrail.com/" //v deployment/windows/wixSetup/bin/sourcetrail.msi
154+ signtool.exe sign //sha1 $CODE_SIGNING_THUMBPRINT //fd sha256 //t " http://timestamp.verisign.com/scripts/timstamp.dll" //d " Sourcetrail ${DOTTED_VERSION_STRING} Installer" //du " https://www.sourcetrail.com/" //v deployment/windows/wixSetup/bin/sourcetrail.msi
160155fi
161156
162157
0 commit comments