Add version.go

This commit is contained in:
Vladimir Mihailenco 2021-08-12 14:13:36 +03:00
parent 047f907625
commit 818c0e0b2e
2 changed files with 7 additions and 1 deletions

View File

@ -61,5 +61,5 @@ sed --in-place "s/\(return \)\"[^\"]*\"/\1\"${TAG#v}\"/" ./version.go
git checkout -b release/${TAG} master git checkout -b release/${TAG} master
git add -u git add -u
git commit -m "Release $TAG" git commit -m "Release $TAG (release.sh)"
git push origin release/${TAG} git push origin release/${TAG}

6
version.go Normal file
View File

@ -0,0 +1,6 @@
package redis
// Version is the current release version.
func Version() string {
return "0.0.0"
}