Skip to content

Commit 818c0e0

Browse files
committed
Add version.go
1 parent 047f907 commit 818c0e0

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

scripts/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ sed --in-place "s/\(return \)\"[^\"]*\"/\1\"${TAG#v}\"/" ./version.go
6161

6262
git checkout -b release/${TAG} master
6363
git add -u
64-
git commit -m "Release $TAG"
64+
git commit -m "Release $TAG (release.sh)"
6565
git push origin release/${TAG}

version.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package redis
2+
3+
// Version is the current release version.
4+
func Version() string {
5+
return "0.0.0"
6+
}

0 commit comments

Comments
 (0)