From 3b80653e543066eccaac909498e7bd62d320ee37 Mon Sep 17 00:00:00 2001 From: Simon Jones Date: Mon, 21 Oct 2019 17:29:24 -0400 Subject: [PATCH] default lifecycle -> v0.5.0 Signed-off-by: Simon Jones Signed-off-by: Emily Casey --- builder/lifecycle.go | 2 +- create_builder_test.go | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/builder/lifecycle.go b/builder/lifecycle.go index c400a5c5d5..6b3fce459b 100644 --- a/builder/lifecycle.go +++ b/builder/lifecycle.go @@ -19,7 +19,7 @@ const ( AssumedLifecycleVersion = "0.3.0" AssumedPlatformAPIVersion = "0.1" - DefaultLifecycleVersion = "0.4.0" + DefaultLifecycleVersion = "0.5.0" DefaultBuildpackAPIVersion = "0.2" DefaultPlatformAPIVersion = "0.1" ) diff --git a/create_builder_test.go b/create_builder_test.go index becedb1128..a4c425a9df 100644 --- a/create_builder_test.go +++ b/create_builder_test.go @@ -235,13 +235,12 @@ func testCreateBuilder(t *testing.T, when spec.G, it spec.S) { }) it("should download default lifecycle", func() { - expectedDefaultLifecycleVersion := "0.4.0" mockDownloader.EXPECT().Download( gomock.Any(), fmt.Sprintf( "https://github.com/buildpack/lifecycle/releases/download/v%s/lifecycle-v%s+linux.x86-64.tgz", - expectedDefaultLifecycleVersion, - expectedDefaultLifecycleVersion, + builder.DefaultLifecycleVersion, + builder.DefaultLifecycleVersion, ), ).Return( blob.NewBlob(filepath.Join("testdata", "lifecycle")), nil,