Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build from released pack #169

Merged
merged 9 commits into from
May 22, 2024
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
Loading