Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ tries to make sure the stage is respected and its changes are included in the fi
# the pi-gen repository.
pi-gen-version: arm64

# The release version to build images against. Valid values are jessie, stretch,
# buster, bullseye, and testing.
# The release version to build images against. Valid values are bullseye, buster,
# stretch, jessie, and wheezy.
release: bullseye

# Setting to `1` will prevent pi-gen from dropping the "capabilities" feature.
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ inputs:
required: false
default: 'stage0 stage1 stage2'
release:
description: The release version to build images against. Valid values are jessie, stretch, buster, bullseye, and testing.
description: The release version to build images against. Valid values are bullseye, buster, stretch, jessie, and wheezy.
required: false
default: bullseye
compression:
Expand Down
4 changes: 2 additions & 2 deletions dist/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/pi-gen-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ export async function validateConfig(config: PiGenConfig): Promise<void> {
}

if (
!['bullseye', 'jessie', 'stretch', 'buster', 'testing'].includes(
!['bullseye', 'buster', 'stretch', 'jessie', 'wheezy'].includes(
config.release?.toLowerCase()
)
) {
throw new Error(
'release must be one of ["bullseye", "jessie", "stretch", "buster", "testing"]'
'release must be one of ["bullseye", "buster", "stretch", "jessie", "wheezy" ]'
)
}

Expand Down