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

Commit

Permalink
Make it so sudo.exe is the name of the download
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed Mar 5, 2021
1 parent 7d248e2 commit f7e3165
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: .gotmp/bin/windows_amd64/sudo*.exe
file: .gotmp/bin/windows_amd64/sudo.exe
tag: ${{ github.ref }}
overwrite: true
file_glob: true
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ $(TARGETS): *.go

windows_amd64_signed: $(GOTMP)/bin/windows_amd64/sudo.$(VERSION).exe
$(GOTMP)/bin/windows_amd64/sudo.$(VERSION).exe: $(GOTMP)/bin/windows_amd64/sudo.exe
@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
@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

test:
go test -v ./...
Expand Down

0 comments on commit f7e3165

Please sign in to comment.