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