mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-11-10 11:13:16 -06:00
6 lines
185 B
Bash
6 lines
185 B
Bash
|
#!/usr/bin/env sh
|
||
|
TAG=$(git describe --tags --always --dirty=-dev)
|
||
|
VERSION="${TAG#v}"
|
||
|
sed -i "s/__version__ = \".*\"/__version__ = \"$VERSION\"/g" src/viv/viv.py
|
||
|
git add src/viv/viv.py
|