Skip to content

Commit c30fa86

Browse files
Add jar as a valid value for artifact type (#3367)
## Why While settings `type: jar` is non-functional, it is a value we have documented in our docs. So we should keep it around as a valid value. ## Tests n/a
1 parent 8797d0f commit c30fa86

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

bundle/config/artifact.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ type ArtifactType string
1010

1111
const ArtifactPythonWheel ArtifactType = `whl`
1212

13+
const ArtifactJar ArtifactType = `jar`
14+
1315
// Values returns all valid ArtifactType values
1416
func (ArtifactType) Values() []ArtifactType {
1517
return []ArtifactType{
1618
ArtifactPythonWheel,
19+
ArtifactJar,
1720
}
1821
}
1922

bundle/internal/validation/generated/enum_fields.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)