specify revision in makefile

Amolith created

Change summary

Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

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