Skip to content

Commit

Permalink
Merge pull request #169 from buildpacks/AidanDelaney-patch-3
Browse files Browse the repository at this point in the history
Build from released pack
  • Loading branch information
AidanDelaney authored May 22, 2024
2 parents 06f4be3 + 61a7725 commit 7e3d07e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@ jobs:
with:
github-token: ${{secrets.GITHUB_TOKEN}}
result-encoding: string
# FIXME: Revert back to 'getLatestRelease' when pack v0.31.0 is released
script: |
return github.rest.repos.getReleaseByTag({
return github.rest.repos.getLatestRelease({
owner: "buildpacks",
repo: "pack",
tag: "v0.31.0-rc1"
repo: "pack"
}).then(result => {
return result.data.assets
.filter(a => a.name.includes("-linux.tgz"))
Expand Down

0 comments on commit 7e3d07e

Please sign in to comment.