From 818c0e0b2ef10c9f0b227ed6531ff46477bfca4b Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Thu, 12 Aug 2021 14:13:36 +0300 Subject: [PATCH] Add version.go --- scripts/release.sh | 2 +- version.go | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 version.go diff --git a/scripts/release.sh b/scripts/release.sh index 8edb196a..aa493506 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -61,5 +61,5 @@ sed --in-place "s/\(return \)\"[^\"]*\"/\1\"${TAG#v}\"/" ./version.go git checkout -b release/${TAG} master git add -u -git commit -m "Release $TAG" +git commit -m "Release $TAG (release.sh)" git push origin release/${TAG} diff --git a/version.go b/version.go new file mode 100644 index 00000000..1e537172 --- /dev/null +++ b/version.go @@ -0,0 +1,6 @@ +package redis + +// Version is the current release version. +func Version() string { + return "0.0.0" +}