Created
June 8, 2020 13:41
-
-
Save afirth/147fe2d1e5d2cd673216c30e96d637e5 to your computer and use it in GitHub Desktop.
get latest release from github
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: sops | |
SOPS_URL=$(shell curl -s "https://api.github.com/repos/mozilla/sops/releases/latest" | grep -o "http.*sops_.*_amd64\.deb") | |
sops: $(curl) | |
wget $(SOPS_URL) -O ~/Downloads/sops.deb | |
sudo apt install ~/Downloads/sops.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment