From fc1183528bef347a454bf45aa9d0b3475429851a Mon Sep 17 00:00:00 2001 From: Aidan Delaney Date: Wed, 30 Aug 2023 14:56:31 +0100 Subject: [PATCH] Build from released pack Revert back to getLatestRelease Signed-off-by: Aidan Delaney --- .github/workflows/build-and-deploy.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 98b0e20..38e0cb2 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -22,12 +22,10 @@ jobs: with: github-token: ${{secrets.GITHUB_TOKEN}} result-encoding: string - # FIXME: Revert back to 'getLatestRelease' when pack v0.30.0 is released script: | - return github.rest.repos.getReleaseByTag({ + return github.rest.repos.getLatestRelease({ owner: "buildpacks", - repo: "pack", - tag: "v0.30.0-rc1" + repo: "pack" }).then(result => { return result.data.assets .filter(a => a.name.includes("-linux.tgz"))