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

Enable Release Drafter if needed #21

Open
basil opened this issue Aug 18, 2023 · 2 comments
Open

Enable Release Drafter if needed #21

basil opened this issue Aug 18, 2023 · 2 comments
Labels
recipe Requests for new automated code changes

Comments

@basil
Copy link
Contributor

basil commented Aug 18, 2023

If a plugin is using automated release, then any Release Drafter configuration should be deleted as explained here. But if the plugin is not using automated release and missing a Release Drafter configuration, it should be added to .github/release-drafter.yml and .github/workflows/release-drafter.yml as per the archetype:

The above configuration is for plugins with two digits in their version number. For plugins with three digits (SemVer-style), the following configuration should be used instead:

_extends: .github
name-template: $NEXT_PATCH_VERSION
tag-template: ${artifactId}-$NEXT_PATCH_VERSION
version-template: $MAJOR.$MINOR.$PATCH
@timtebeek timtebeek added the recipe Requests for new automated code changes label Aug 18, 2023
@sghill
Copy link
Collaborator

sghill commented Aug 18, 2023

What's the best way to tell if a plugin is using automated release @basil?

I'm thinking it involves checking for the presence of the cd.yaml workflow and cd.enabled: true in jenkins-infra/repository-permissions-updater

@basil
Copy link
Contributor Author

basil commented Aug 18, 2023

Yes exactly, a plugin has automated release enabled if it has the maven-cd workflow in .github/workflows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
recipe Requests for new automated code changes
Projects
Status: Recipes Wanted
Development

No branches or pull requests

3 participants