forked from an/flokati
10 lines
265 B
Bash
10 lines
265 B
Bash
|
#!/bin/sh
|
||
|
BUILDDATEGO="version/builddate.go"
|
||
|
echo "package version" >$BUILDDATEGO
|
||
|
echo "" >>$BUILDDATEGO
|
||
|
echo "const (" >>$BUILDDATEGO
|
||
|
echo -n " FlokatiBuilddate = \"" >>$BUILDDATEGO
|
||
|
echo -n `date` >>$BUILDDATEGO
|
||
|
echo "\"" >>$BUILDDATEGO
|
||
|
echo ")" >>$BUILDDATEGO
|