mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-12-22 18:50:43 -06:00
fix: make repo-based install version dependent by default
This commit is contained in:
parent
8fdb1817a7
commit
1e74ebf413
2 changed files with 2 additions and 1 deletions
1
Makefile
1
Makefile
|
@ -10,6 +10,7 @@ types: ## run mypy
|
||||||
bump-version: ## update version and tag commit
|
bump-version: ## update version and tag commit
|
||||||
@echo "bumping to version => $(VERSION)"
|
@echo "bumping to version => $(VERSION)"
|
||||||
@sed -i 's/__version__ = ".*"/__version__ = "$(VERSION)"/g' src/viv/viv.py
|
@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 add src/viv/viv.py && git commit -m "chore: bump version"
|
||||||
@git tag v$(VERSION)
|
@git tag v$(VERSION)
|
||||||
|
|
||||||
|
|
|
@ -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.
|
You can set `PREFIX` to symlink to a different location.
|
||||||
|
|
||||||
```sh
|
```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
|
cd ~/.viv
|
||||||
make install # or PREFIX=~/.local/bin make install
|
make install # or PREFIX=~/.local/bin make install
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue