diff --git a/Makefile b/Makefile index 7f01b33..47019d4 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,7 @@ types: ## run mypy bump-version: ## update version and tag commit @echo "bumping to version => $(VERSION)" @sed -i 's/__version__ = ".*"/__version__ = "$(VERSION)"/g' src/viv/viv.py + @sed 's/--branch .* g/--branch $(VERSION) g/g' README.md @git add src/viv/viv.py && git commit -m "chore: bump version" @git tag v$(VERSION) diff --git a/README.md b/README.md index f4a80f3..9803fd9 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ By default it will symlink `./src/viv/viv.py` to `~/bin/viv`. You can set `PREFIX` to symlink to a different location. ```sh -git clone git@github.com:daylinmorgan/viv.git ~/.viv +git clone --depth 1 --branch v22.12a3 git@github.com:daylinmorgan/viv.git ~/.viv cd ~/.viv make install # or PREFIX=~/.local/bin make install ```