commitizen-tools / commitizen-action

Commitizen github action to bump and create changelog
MIT License
73 stars 32 forks source link

read new tag in following steps #48

Closed manang closed 1 year ago

manang commented 1 year ago

is there a way to read the new tag when a changelog+bump are created in a following step? I tried, but the repo is always the origina, and I don't see the modification. Thanks a lot Angelo

woile commented 1 year ago

Could you expand? What do you mean by the repo is always the original? Inside the pipeline or you don't see your tag reflected in the repository? Do you get any error? In the https://github.com/commitizen-tools/commitizen-action#sample-workflow there's an example on how to print the version on a following step

manang commented 1 year ago

ok, you solved me with the output. but of course, if you read the last commit, it is not the bump commit, but the previous.

Thanks a lot