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

Even if - is specified for tagpr.versionFile, version files will be detected #144

Closed
toritori0318 opened this issue Jan 18, 2023 · 5 comments

Comments

@toritori0318
Copy link
Contributor

Hi @Songmu.

It is written in this way in the README.

tagpr.versionFile

'If you do not want to use versioning files but only git tags, specify the "-" string here. '

I have specified -, but the version_file is detected.
Probably detecting files acquired here.

Is this the intended behavior?
Thanks.

@Songmu
Copy link
Owner

Songmu commented Jan 18, 2023

Oops. This is unintended behavior.

@toritori0318
Copy link
Contributor Author

Thank you for the quick reply!

Perhaps stop trimming the - here in stringify, and change here to else if tp.cfg.VersionFile() ! = "-".

If it is not already supported, shall we support it?

@Songmu
Copy link
Owner

Songmu commented Jan 18, 2023

Yes, this should be supported. Since we would like to limit version file detection to only the first run.

@toritori0318
Copy link
Contributor Author

toritori0318 commented Jan 18, 2023

OK, Now I will prepare the PR...

@toritori0318
Copy link
Contributor Author

We re-ran the latest version at our service and confirmed that it works as intended! 🎉

Thanks for a great tool!

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

No branches or pull requests

2 participants