From dbd13256336f0f278d211f6c2190b4972d580c77 Mon Sep 17 00:00:00 2001 From: Ananth Bhaskararaman Date: Sun, 14 Jul 2024 02:47:43 +0530 Subject: [PATCH] Fix version --- chonker.go | 2 +- version.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/chonker.go b/chonker.go index 350297e..ce34470 100644 --- a/chonker.go +++ b/chonker.go @@ -11,7 +11,7 @@ // Configure the version built into chonker by setting the $VERSION // environment variable before running go generate. // -//go:generate sh -c "printf 'package chonker\nconst Version = `%s`\n' $VERSION > version.go" +//go:generate sh -c "printf 'package chonker\n\nconst Version = `%s`\n' $VERSION > version.go" package chonker import ( diff --git a/version.go b/version.go index c162814..79d1c50 100644 --- a/version.go +++ b/version.go @@ -1,2 +1,3 @@ package chonker + const Version = `dev`