Skip to content
This repository was archived by the owner on Mar 4, 2023. It is now read-only.

Commit f7e3165

Browse files
committed
Make it so sudo.exe is the name of the download
1 parent 7d248e2 commit f7e3165

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
uses: svenstaro/upload-release-action@v2
3737
with:
3838
repo_token: ${{ secrets.GITHUB_TOKEN }}
39-
file: .gotmp/bin/windows_amd64/sudo*.exe
39+
file: .gotmp/bin/windows_amd64/sudo.exe
4040
tag: ${{ github.ref }}
4141
overwrite: true
4242
file_glob: true

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $(TARGETS): *.go
3333

3434
windows_amd64_signed: $(GOTMP)/bin/windows_amd64/sudo.$(VERSION).exe
3535
$(GOTMP)/bin/windows_amd64/sudo.$(VERSION).exe: $(GOTMP)/bin/windows_amd64/sudo.exe
36-
@if [ -z "$(DDEV_WINDOWS_SIGNING_PASSWORD)" ] ; then echo "Skipping signing, no DDEV_WINDOWS_SIGNING_PASSWORD provided"; else echo "Signing $@..." && mv $< $<.unsigned && osslsigncode sign -pkcs12 certfiles/drud_cs.p12 -n "sudo for windows" -i https://ddev.com -in $<.unsigned -out $@ -t http://timestamp.digicert.com -pass $(DDEV_WINDOWS_SIGNING_PASSWORD); fi
36+
@if [ -z "$(DDEV_WINDOWS_SIGNING_PASSWORD)" ] ; then echo "Skipping signing, no DDEV_WINDOWS_SIGNING_PASSWORD provided"; else echo "Signing $@..." && mv $< $<.unsigned && osslsigncode sign -pkcs12 certfiles/drud_cs.p12 -n "sudo for windows" -i https://ddev.com -in $<.unsigned -out $@ -t http://timestamp.digicert.com -pass $(DDEV_WINDOWS_SIGNING_PASSWORD); cp $@ $(GOTMP)/bin/windows_amd64/sudo.exe; fi
3737

3838
test:
3939
go test -v ./...

0 commit comments

Comments
 (0)