From 8a252c5edcd408ca096a875bd5c7f5b9d0552b56 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Sun, 28 May 2023 17:39:33 -0500 Subject: [PATCH] chore: new default is 'latest' --- Makefile | 6 ++++-- README.md | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 3051fa4..0d0e7d2 100644 --- a/Makefile +++ b/Makefile @@ -10,9 +10,11 @@ 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 -i 's/install -r .*/install -r v$(VERSION)/g' README.md - @git add src/viv/viv.py README.md && git commit -m "chore: bump version" --no-verify + @git add src/viv/viv.py && git commit -m "chore: bump version" --no-verify @git tag v$(VERSION) + @git tag -d latest || true + @git tag latest + venv: ## generate environment pdm install diff --git a/README.md b/README.md index 1853461..50f0329 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ In any case they will be re-used across scripts (and generated on-demand, if nee Run the below command to install `viv`. ```sh -python3 <(curl -fsSL gh.dayl.in/viv/viv.py) manage install -r v23.5a1 +python3 <(curl -fsSL gh.dayl.in/viv/viv.py) manage install ``` To access `viv` from within scripts you should add it's location to your `PYTHONPATH`. @@ -43,7 +43,7 @@ export PYTHONPATH="$PYTHONPATH:$HOME/.local/share/viv" Advanced users may recognize that principally, the module just needs to be recognized at run time -and the single script at `./src/viv/viv.py` can be invoked directly for the CLI. +and the single script [`viv.py`](https://github.com/daylinmorgan/viv/blob/main/src/viv/viv.py) can be invoked directly for the CLI. How you accomplish these options is ultimately up to you but the above instructions can get you started. ### Pypi (Not Recommended)