Skip to content

Commit

Permalink
Bump to buildpack API version that removes stacks
Browse files Browse the repository at this point in the history
Bump all examples to use a buildpack API version that allows us to
remove stacks.
  • Loading branch information
AidanDelaney committed Dec 14, 2023
1 parent 0692054 commit cd85d3f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions content/docs/app-developer-guide/using-inline-buildpacks.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ version = "1.0"
id = "me/rake-tasks"

[io.buildpacks.group.script]
api = "0.6"
api = "0.12"
inline = "rake package"
```

Expand All @@ -38,7 +38,7 @@ Inline buildpacks aren't constrained to a single command, however. You can defin
id = "me/cleanup"

[io.buildpacks.group.script]
api = "0.9"
api = "0.12"
inline = """
set -e
source scripts/utils.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ First, annotate the `buildpack.toml` to specify that it emits CycloneDX:
<!-- test:file=node-js-buildpack/buildpack.toml -->
```toml
# Buildpack API version
api = "0.8"
api = "0.12"

# Buildpack ID and metadata
[buildpack]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Example:
<!-- test:exec -->
```bash
pack buildpack new examples/node-js \
--api 0.8 \
--api 0.12 \
--path node-js-buildpack \
--version 0.0.1 \
--stacks io.buildpacks.samples.stacks.jammy
Expand All @@ -40,7 +40,7 @@ You will have `node-js-buildpack/buildpack.toml`<!--+"{{open}}"+--> in your buil
<!-- test:file=node-js-buildpack/buildpack.toml -->
```toml
# Buildpack API version
api = "0.8"
api = "0.12"

# Buildpack ID and metadata
[buildpack]
Expand Down
2 changes: 1 addition & 1 deletion content/docs/reference/spec/buildpack-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ A buildpack must contain a `buildpack.toml` file in its root directory.
### Example

```
api = "0.10"
api = "0.12"
[buildpack]
id = "example.com/python"
Expand Down

0 comments on commit cd85d3f

Please sign in to comment.