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

[FEATURE] Add command to get the latest version for CI builds #325

Open
marcbull opened this issue Oct 10, 2023 · 0 comments
Open

[FEATURE] Add command to get the latest version for CI builds #325

marcbull opened this issue Oct 10, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@marcbull
Copy link
Contributor

Is your feature request related to a problem? Please describe.
For my workflow I use a script to get the latest version for a CI build. It's a combination of cog bump --dry-run --skip-untracked --auto and cog get-version. If bump doesn't return a version the result of `get-version´ is used.

This script always returns a valid version, even if no future version is available or no current version is released (-f 0.0.0).

Describe the solution you'd like
My proposal would be to move this work to cog. It could be a command like ci-version or next-version.

Describe alternatives you've considered
The previously mentioned script.

@marcbull marcbull added the enhancement New feature or request label Oct 10, 2023
marcbull added a commit to marcbull/cocogitto that referenced this issue Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants