Skip to content

add trial_num attribute to Dist::Zilla and --trial-num option to dzil build and dzil release #730

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Grinnz
Copy link
Contributor

@Grinnz Grinnz commented Apr 6, 2025

Adds support for creating trial archives with the format -TRIAL# via a --trial-num option. Not sure if this is the best way, but this is handled directly by Dist::Zilla::Dist::Builder so it can't be supported via plugins.

Ensures that the number is appended even if it's 0 (as -TRIAL0 is valid) and that nothing is appended unless it's determined to be a trial release via the current mechanisms.

Also updated NextRelease %T and %V default specifications to include the trial num if specified, since this will likely be meant to emulate the archive name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant