mirror of
https://github.com/codl/forget
synced 2024-12-12 00:19:52 +01:00
6 lines
189 B
Bash
6 lines
189 B
Bash
|
#!/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
|
||
|
|