Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This workflow automates the process of keeping the
DOTNET_CNB_VERSION
inbin/compile
and theCHANGELOG.md
file up-to-date with new releases in theheroku/buildpacks-dotnet
repository:DOTNET_CNB_VERSION
frombin/compile
.heroku/buildpacks-dotnet
repository to find the next release following the currently pinned version.bin/compile
to use the next CNB release.heroku/buildpacks-dotnet
repository under the## [Unreleased]
section ofCHANGELOG.md
.Update heroku/buildpacks-dotnet to v{next-cnb-release-version}
with a link to the corresponding release.The workflow is executed on a schedule, but can also be triggered manually to allow multiple CNB version updates prior to executing the "Prepare Release" workflow.
Testing this type of workflow is a bit tricky, but should work fine for common/regular version updates. There are several areas we may want to improve in the future, such as automatically triggering this workflow following successful execution of https://github.com/heroku/buildpacks-dotnet/blob/main/.github/workflows/release.yml.
Maintainers may need to edit
CHANGELOG.md
manually (particularly to remove entries that are not relevant for this buildpack, e.g. changes to caching logic etc).