DEV Community

Discussion on: A Java Library Release Process Which Doesn't Suck

Collapse
 
alxgrk profile image
Alexander Girke

Love your approach. Have you already tested it with other CI providers? Asking because I don't know if there is something similar to "tag_filter" for e.g. Github Actions or CircleCI...

Collapse
 
philhardwick profile image
Phil Hardwick

Yeah great question - CircleCI can do it via their filters: tags: config which accepts regex (circleci.com/docs/2.0/configuratio...) and Github (docs.github.com/en/actions/referen...) have a

on:
  release:
    types: [published]

I'm not sure if you have to create the "release" through the Github UI for this to work (which I believe just tags the repo) or whether Github recognising a tag as a release (as I mentioned in the post) will simply start the workflow.

Let me know if you try it out! Would be interested to hear how it goes

Collapse
 
alxgrk profile image
Alexander Girke

Thanks for looking it up! Will hopefully test it within the next couple of weeks and let you know.