Skip to content

Commit 031a995

Browse files
paketo-botpaketo-bot
paketo-bot
authored andcommitted
Update github-config to a062c0f
1 parent 6d891dc commit 031a995

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

scripts/.util/tools.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"jam": "v0.7.0",
3+
"pack": "v0.17.0"
4+
}

scripts/.util/tools.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function util::tools::jam::install () {
5050

5151
if [[ ! -f "${dir}/jam" ]]; then
5252
local version
53-
version="v0.4.2"
53+
version="$(jq -r .jam "$(dirname "${BASH_SOURCE[0]}")/tools.json")"
5454

5555
util::print::title "Installing jam ${version}"
5656
curl "https://github.com/paketo-buildpacks/packit/releases/download/${version}/jam-${os}" \
@@ -95,7 +95,7 @@ function util::tools::pack::install() {
9595

9696
if [[ ! -f "${dir}/pack" ]]; then
9797
local version
98-
version="v0.15.0"
98+
version="$(jq -r .pack "$(dirname "${BASH_SOURCE[0]}")/tools.json")"
9999

100100
util::print::title "Installing pack ${version}"
101101
curl "https://github.com/buildpacks/pack/releases/download/${version}/pack-${version}-${os}.tgz" \

scripts/integration.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function images::pull() {
7474
docker pull "${builder}"
7575

7676
util::print::title "Setting default pack builder image..."
77-
pack set-default-builder "${builder}"
77+
pack config default-builder "${builder}"
7878

7979
local run_image lifecycle_image
8080
run_image="$(

scripts/package.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function buildpackage::create() {
109109
util::print::title "Packaging buildpack..."
110110

111111
pack \
112-
package-buildpack "${output}" \
112+
buildpack package "${output}" \
113113
--config "${ROOT_DIR}/package.toml" \
114114
--format file
115115
}

0 commit comments

Comments
 (0)