bingo: 0.5.2 -> 0.6.0

This commit is contained in:
Aaron Jheng 2022-04-25 08:43:48 +00:00
parent 514a8857fe
commit fb838c9d1a
No known key found for this signature in database
GPG key ID: F6A547A869D050A3
2 changed files with 18 additions and 3 deletions

View file

@ -0,0 +1,13 @@
diff --git a/pkg/version/version.go b/pkg/version/version.go
index 30f8f30..11c12a0 100644
--- a/pkg/version/version.go
+++ b/pkg/version/version.go
@@ -6,7 +6,7 @@ package version
import "github.com/Masterminds/semver"
// Version returns 'bingo' version.
-const Version = "v0.6"
+const Version = "v0.6.0"
var (
Go114 = semver.MustParse("1.14")

View file

@ -2,20 +2,22 @@
buildGoModule rec {
pname = "bingo";
version = "0.5.2";
version = "0.6.0";
src = fetchFromGitHub {
owner = "bwplotka";
repo = "bingo";
rev = "v${version}";
sha256 = "sha256-4D8YaA/AH1gIp5iwD7WEAdBl73sqwHpfOe7bnxVcRcw=";
sha256 = "sha256-t2nkY+mwek2NcbCwCkI3Mc1ULEJIjatBjChBdnKFAg8=";
};
vendorSha256 = "sha256-xrz9FpwZd+FboVVTWSqGHRguGwrwE9cSFEEtulzbfDQ=";
vendorSha256 = "sha256-TCbwIHDg2YaLIscCoGPRBv5G3YSJ+qn/koOjPh+KKRY=";
patches = [
# Do not execute `go` command when invoking `bingo version`.
./version_go.patch
# Specific to v0.6.0. `v0.6` -> `v0.6.0`
./bingo_version.patch
];
postPatch = ''