diff options
author | Drew DeVault <sir@cmpwn.com> | 2020-02-21 10:54:59 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-02-21 10:54:59 -0500 |
commit | ad9f46aedf266e105ce3812c8764d1ea0de2f73f (patch) | |
tree | 6962d0ac028a0112a75955995dcea12c3666faf7 | |
parent | 47152411277bdc091f9163685b16c547e0543324 (diff) | |
download | sr.ht-docs-ad9f46aedf266e105ce3812c8764d1ea0de2f73f.tar.gz |
git.sr.ht: update route for annotations upload
-rw-r--r-- | git.sr.ht/annotations.md | 2 |
1 files changed, 1 insertions, 1 deletions
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 |