Replacing shell script with golang src file.

This commit is contained in:
Foil-hat-guy 2025-04-20 01:50:18 +03:00
parent 0a0c951ae4
commit 350a6cbdaa
No known key found for this signature in database
GPG key ID: 221CC305A7B23591
2 changed files with 4 additions and 5 deletions

View file

@ -1,4 +0,0 @@
#!/bin/sh
gitVersion=$(git describe --tags --abbrev=0)
echo 'package main' > version.go
echo 'var gitVersion string ='$gitVersion >> version.go

View file

@ -1,4 +1,7 @@
package version
func init (){
import "fmt"
func main () {
fmt.Println("version is here")
}