ipbl/scripts/version.sh

6 lines
106 B
Bash
Raw Normal View History

2021-12-27 23:52:22 +01:00
#!/bin/bash
VERSION=$(git tag | tail -n 1)
echo 'package main
var version = "'${VERSION}'"' > version.go