From ad9f46aedf266e105ce3812c8764d1ea0de2f73f Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 21 Feb 2020 10:54:59 -0500 Subject: git.sr.ht: update route for annotations upload --- git.sr.ht/annotations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git.sr.ht') diff --git a/git.sr.ht/annotations.md b/git.sr.ht/annotations.md index 1ecac85..dfd857a 100644 --- a/git.sr.ht/annotations.md +++ b/git.sr.ht/annotations.md @@ -34,7 +34,7 @@ curl -X PUT \ -H "Authorization: token $oauth_token" \ -H "Content-Type: application/json" \ -d @"$1" \ - https://git.sr.ht/api/"~$2"/repos/"$3"/annotate + https://git.sr.ht/api/"~$2"/repos/"$3"/$(git rev-parse HEAD)/annotate ``` Set the path to `~/upload-annotations` and the file mode to 755, then add the -- cgit