mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-11-13 20:47:53 -06:00
5 lines
181 B
Bash
5 lines
181 B
Bash
|
#!/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
|