Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep the version-2.0 branch in sync with changes to main #87

Merged
merged 4 commits into from
Nov 5, 2021
Merged

Keep the version-2.0 branch in sync with changes to main #87

merged 4 commits into from
Nov 5, 2021

Conversation

dmikusa
Copy link
Contributor

@dmikusa dmikusa commented Nov 5, 2021

buildpack-bot and others added 3 commits November 5, 2021 13:54
Bumps pipeline from 1.12.0 to 1.12.1.

Signed-off-by: GitHub <noreply@github.com>
Most Go applications use github.com/burntsushi/toml as their toml
parsing library. When struct tags are omitted, the library will do
case-insensitive deserialization, so a property called "path" will
successfully unmarshal into the Path struct field. However, if you
marshal a Buildpack instance to toml, the "Path = " field appears
regardless of whether it is set or not, and technically violates the
buildpack toml spec. This PR adds a struct tag to not only marshal the
field to the "path" property in the resultant toml, but also adds the
"omitempty" modifier to ignore the field altogether when not set.

Signed-off-by: Josh Ghiloni <jghiloni@vmware.com>
Signed-off-by: Josh Ghiloni <jghiloni@vmware.com>
@dmikusa dmikusa added type:task A general task semver:patch A change requiring a patch version bump labels Nov 5, 2021
Signed-off-by: Josh Ghiloni <jghiloni@vmware.com>
Signed-off-by: Daniel Mikusa <dmikusa@vmware.com>
@sambhav sambhav merged commit f7b68c6 into buildpacks:version-2.0 Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:patch A change requiring a patch version bump type:task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants