Skip to content

Commit e686032

Browse files
committed
Bump to buildpack API version that removes stacks
Bump all examples to use a buildpack API version that allows us to remove stacks. Signed-off-by: Aidan Delaney <[email protected]>
1 parent 0692054 commit e686032

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

content/docs/app-developer-guide/using-inline-buildpacks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ version = "1.0"
2323
id = "me/rake-tasks"
2424

2525
[io.buildpacks.group.script]
26-
api = "0.6"
26+
api = "0.10"
2727
inline = "rake package"
2828
```
2929

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

4040
[io.buildpacks.group.script]
41-
api = "0.9"
41+
api = "0.10"
4242
inline = """
4343
set -e
4444
source scripts/utils.sh

content/docs/buildpack-author-guide/create-buildpack/adding-bill-of-materials.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ First, annotate the `buildpack.toml` to specify that it emits CycloneDX:
4343
<!-- test:file=node-js-buildpack/buildpack.toml -->
4444
```toml
4545
# Buildpack API version
46-
api = "0.8"
46+
api = "0.10"
4747

4848
# Buildpack ID and metadata
4949
[buildpack]

content/docs/buildpack-author-guide/create-buildpack/building-blocks-cnb.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Example:
1717
<!-- test:exec -->
1818
```bash
1919
pack buildpack new examples/node-js \
20-
--api 0.8 \
20+
--api 0.10 \
2121
--path node-js-buildpack \
2222
--version 0.0.1 \
2323
--stacks io.buildpacks.samples.stacks.jammy
@@ -40,7 +40,7 @@ You will have `node-js-buildpack/buildpack.toml`<!--+"{{open}}"+--> in your buil
4040
<!-- test:file=node-js-buildpack/buildpack.toml -->
4141
```toml
4242
# Buildpack API version
43-
api = "0.8"
43+
api = "0.10"
4444

4545
# Buildpack ID and metadata
4646
[buildpack]

0 commit comments

Comments
 (0)