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

Simulate the future version #1019

Open
nosalan opened this issue Jan 3, 2024 · 3 comments
Open

Simulate the future version #1019

nosalan opened this issue Jan 3, 2024 · 3 comments

Comments

@nosalan
Copy link

nosalan commented Jan 3, 2024

Question:
I want to display an output that the version is about to be upgraded before running the nbgv prepare-release command.
In order to display it, I need to get somehow the next future version, which for example depends on the version increment being set in the version.json file. Is there a way to get the version that nbgv prepare-release will set in a simulative manner?

@AArnott
Copy link
Collaborator

AArnott commented Jan 3, 2024

No.
What if we added a --what-if switch, which prints the new version but doesn't actually make any changes?
Do you need the output to be machine-readable, or merely human readable?

@nosalan
Copy link
Author

nosalan commented Jan 4, 2024

--what-if sounds excellent, preferably with the machine-readable output.

@AArnott
Copy link
Collaborator

AArnott commented Jan 4, 2024

Great. We'll keep this issue active in case you or others can prepare the PR.

Sponsorship may be an effective way to lead a contributor of this repo to prioritize the feature. As a free and open source library, all or the majority of its development is done without any monetary benefit to its authors, and all of it is made available free of charge. But sponsorship is very much appreciated and, with agreement from a particular contributor and/or the owning team, can be a great way to support the project and help get your favorite features or bugs addressed in an upcoming version.
If sponsorship to drive completion of a feature or bug fix is an interesting option to you, please let us know. You can reach out to me privately on keybase.io or gitter.im as well.

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

No branches or pull requests

2 participants