diff --git a/.gitignore b/.gitignore index db65023b9..a8105a0a5 100644 --- a/.gitignore +++ b/.gitignore @@ -39,4 +39,7 @@ out site # Generated dokka -docs/api \ No newline at end of file +docs/api + +# Python virtual env +venv \ No newline at end of file diff --git a/docs/releasing.md b/docs/releasing.md index 7d4cb1503..b7dc5617b 100644 --- a/docs/releasing.md +++ b/docs/releasing.md @@ -89,6 +89,8 @@ gh alias set --shell closeMilestone "echo '{\"state\": \"closed\"}' | gh api --m ### Install or update the doc generation dependencies ```bash +python3 -m venv venv +source venv/bin/activate pip3 install --requirement docs/requirements.txt ``` @@ -164,7 +166,7 @@ echo '{ "description": "" }' | gh createMilestone && \ mkdocs gh-deploy -gh release create v{{ leak_canary.next_release }} ./shark-cli/build/distributions/shark-cli-{{ leak_canary.next_release }}.zip --title v{{ leak_canary.next_release }} --notes 'See [Change Log](https://square.github.io/leakcanary/changelog)' +gh release create v{{ leak_canary.next_release }} ./shark/shark-cli/build/distributions/shark-cli-{{ leak_canary.next_release }}.zip --title v{{ leak_canary.next_release }} --notes 'See [Change Log](https://square.github.io/leakcanary/changelog)' ``` * Open the [v{{ leak_canary.next_release }} release](https://github.com/square/leakcanary/releases/tag/v{{ leak_canary.next_release }}) to confirm everything looks good.