viv/scripts/bump-dev.sh
Daylin Morgan fcb48daade
feat(metadata)!: revamp metadata tracking
This breaks any existing cache but now allows for tracking files that
access vivenv's
2023-05-31 19:17:26 -05:00

5 lines
181 B
Bash
Executable file

#!/usr/bin/env sh
TAG=$(git describe --tags --always --dirty=-dev --exclude 'latest')
VERSION="${TAG#v}"
sed -i "s/__version__ = \".*\"/__version__ = \"$VERSION\"/g" src/viv/viv.py