JuliaRegistries / TagBot

Creates tags, releases, and changelogs for your Julia packages when they're registered
https://github.com/marketplace/actions/julia-tagbot
MIT License
91 stars 18 forks source link

Allow setting a tag prefix manually #279

Closed sloede closed 12 months ago

sloede commented 1 year ago

This PR enables users to manually specify a tag prefix, overriding the default tag prefix determination algorithm (the DTPDA, as it will henceforth be referred to as).

Before:

With this PR, there are additional options available through the tag_prefix input:

The main motivation is to allow users who have their Julia package in a subdirectory but want to tag their versions just as v0.1.0 and not as subdir-v0.1.0 to use TagBot (which is an awesome action, thanks a lot to all maintainers!). This should be a non-breaking change, since the DTPDA remains unchanged if the new action input tag_prefix is not set.

Resolves #278.

cc @bgeihe

sloede commented 12 months ago

bump Who would be the right person to do a (first) review for this PR - @christopher-dG?

christopher-dG commented 12 months ago

Looks good at a glance, but would be good to get review from @IanButterworth

sloede commented 12 months ago

Thanks for the merge @IanButterworth! It would be great if you could also create a new tag (I don't think I can do this as a PR, or can I?), such that it is usable in our workflows.

IanButterworth commented 12 months ago

Yeah. I've messaged @christopher-dG because there's more to it than a PR AFAIK but I don't know what that is

sloede commented 12 months ago

OK, great, thanks a lot!