1 file changed, +3, -2
2a35dd5Fix the release upload example and a typo in the README
README.md
+3, -2
+3, -2
@@ -13,7 +13,7 @@ This installs `wit` to `${PREFIX}/bin`, its man page to `${PREFIX}/man/man1`, an
1313
1414 At runtime wit needs libgit2 and git (for `git archive`).
1515
16 -Create dependencies:
16+Crate dependencies:
1717
1818 - git2
1919 - chrono
@@ -58,7 +58,8 @@ Copy `contrib/post-receive` into each bare repo's `hooks/` dir, keep it executab
5858 Put a tag's files in the bare repo's `releases/<tag>/` folder (in a working copy, `.git/releases/<tag>/`), next to `description`; git ignores it. Upload them over SSH, then push the tag, so the hook builds the release:
5959
6060 ```sh
61 -scp foo-linux-x86_64 user@server:<repo>/foo-linux-aarch64
61+ssh user@server mkdir -p <repo>/releases/v1.2
62+scp foo-linux-x86_64 foo-linux-aarch64 user@server:<repo>/releases/v1.2/
6263 git push origin v1.2
6364 ```
6465