tektoncd-cli: 0.17.2 -> 0.18.0
This commit is contained in:
parent
ba6f0e8f03
commit
36b4a44c2a
@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "tektoncd-cli";
|
||||
version = "0.17.2";
|
||||
version = "0.18.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tektoncd";
|
||||
repo = "cli";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-7VG9OFt1yVt4st8EM1aiRqLCHwjSqib28GoamoJHHnM=";
|
||||
sha256 = "sha256-vZxpfVMUl1EZwCuLlwmSKWrz86aTjWYlAIwO4b9ACqk=";
|
||||
};
|
||||
|
||||
vendorSha256 = null;
|
||||
@ -24,6 +24,8 @@ buildGoModule rec {
|
||||
excludedPackages = "\\(third_party\\|cmd/docs\\)";
|
||||
|
||||
preCheck = ''
|
||||
# Some tests try to write to the home dir
|
||||
export HOME="$TMPDIR"
|
||||
# Change the golden files to match our desired version
|
||||
sed -i "s/dev/${version}/" pkg/cmd/version/testdata/TestGetVersions-*.golden
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user