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

Accept pre-release labels #39

Open
fdaciuk opened this issue Jun 25, 2022 · 0 comments
Open

Accept pre-release labels #39

fdaciuk opened this issue Jun 25, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@fdaciuk
Copy link
Owner

fdaciuk commented Jun 25, 2022

We should accept the labels alpha, beta and rc labels (using this precedence).

Examples:

cargo v alpha

This command will add a -alpha.1 next to patch version or increase the number after -alpha..

  • If current version is 1.0.0, the result must be 1.0.0-alpha.1.
  • If current version is 1.0.0-alpha.2, the result must be 1.0.0-alpha.3;
  • If current version is 1.0.0-beta.1, the command above should result in an error: you can't decrease a version.

The same can be done with beta and rc labels.

@fdaciuk fdaciuk added the enhancement New feature or request label Jun 25, 2022
@fdaciuk fdaciuk added this to the Next big release milestone Jun 25, 2022
@fdaciuk fdaciuk added this to cargo-v Jun 25, 2022
@fdaciuk fdaciuk moved this to ✨ Todo in cargo-v Jun 25, 2022
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
Status: Todo
Development

No branches or pull requests

1 participant