diff --git a/Makefile b/Makefile index 121fd66e33264b2eb9e2fcd164804abdb4a293ae..364e44f918720fb68a74f51e593bd3a683fb0770 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ clean: release: clean all if ! [ -f "$HOME/.config/hut/config" ] ; then $(secret-tool lookup Title 'SourceHut API Key') | hut init ; fi - for i in out/* ; do hut git artifact upload -r earl "$i" ; done + for i in out/* ; do hut git artifact upload -r earl "$i" --revision $(TAG) ; done for i in out/* ; do curl -H "Authorization: Bearer $(secret-tool lookup Title 'earl')" "https://earl.run/update?oldName=$(basename $i)&name=$(basename $i)&url=https%3A%2F%2Fgit.sr.ht%2F~amolith%2Fearl%2Frefs%2Fdownload%2F$TAG%2F$(basename $i)" ; done all: darwin dragonfly freebsd illumos netbsd openbsd plan9 linux solaris windows