ci: fixed windows signing and scoop url

This commit is contained in:
Jarek Kowalski committed 2021-03-23 09:07:16 -07:00
1 parent 4d77bd109e
commit 21af8914b1
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -118,7 +118,7 @@ dist/kopia_windows_amd64/kopia.exe: htmlui/build/index.html $(all_go_sources)
$(MAKE) signing-tools
GOOS=windows GOARCH=amd64 go build $(KOPIA_BUILD_FLAGS) -o dist/kopia_windows_amd64/kopia.exe -tags embedhtml
ifneq ($(WINDOWS_SIGN_TOOL),)
$(WINDOWS_SIGN_TOOL) sign /sha1 $(WINDOWS_CERT_SHA1) /fd sha256 /tr "http://time.certum.pl" /f dist\kopia_windows_amd64\kopia.exe
tools/.tools/signtool.exe sign /sha1 $(WINDOWS_CERT_SHA1) /fd sha256 /tr "http://time.certum.pl" /f dist/kopia_windows_amd64/kopia.exe
endif
mkdir -p dist/kopia-$(KOPIA_VERSION_NO_PREFIX)-windows-x64
cp dist/kopia_windows_amd64/kopia.exe LICENSE README.md dist/kopia-$(KOPIA_VERSION_NO_PREFIX)-windows-x64
+1
View File
@@ -8,6 +8,7 @@ source_repo=kopia/kopia
if [ "$CI_TAG" == "" ]; then
target_repo=kopia/scoop-test-builds
source_repo=kopia/kopia-test-builds
fi
if [ "$GITHUB_TOKEN" == "" ]; then