2
0
mirror of https://github.com/codl/forget synced 2024-12-13 17:08:12 +01:00
forget-cancellare-vecchi-toot/tools/write-version.sh
2017-08-29 14:46:32 +02:00

6 lines
191 B
Bash
Executable File

#!/bin/bash
cd $(dirname $0)/..
git describe --tags --long --always | python -c 'from jinja2 import Template; print(Template("version = \"{{input}}\"").render(input=input()))' > version.py