paketo-buildpacks / github-config

Common repository configuration
Apache License 2.0
8 stars 12 forks source link

Conditionally packaging a buildpack or an extension #934

Closed pacostas closed 5 months ago

pacostas commented 5 months ago

Summary

This PR changes the package.sh script to conditionally package a buildpack or an extension according to whether is an extension or a buildpack.

The way this is implemented is to check whether the extension file exists on the directory, otherwise, it fallbacks to the default behavior of packaging a buildpack.

Test results:

Use Cases

Checklist

mhdawson commented 5 months ago

@ForestEckhardt wondering if you might have time to help review/land?