ipbl/scripts/version.sh
Paul Lecuq 8eecf6d52d
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
updated ipbl
2021-12-27 23:52:22 +01:00

6 lines
106 B
Bash
Executable File

#!/bin/bash
VERSION=$(git tag | tail -n 1)
echo 'package main
var version = "'${VERSION}'"' > version.go