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

Sanitise the version number on release notes #16

Open
johnmunster opened this issue Jan 3, 2024 · 0 comments
Open

Sanitise the version number on release notes #16

johnmunster opened this issue Jan 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@johnmunster
Copy link
Contributor

johnmunster commented Jan 3, 2024

What problem does this address?

In its current state the version number field allows any characters to be input - http://bigbite.im/i/8pjF2S

What is your proposed solution?

Given that the version number should follow semantic versioning (MAJOR.MINOR.PATCH) numbering, I am suggesting the following features be implemented to:

  1. Sanitise the field so it only accepts numbers.
  2. Only allow the release note to be published once it the version number is input and in the correct format.
  3. (optional) Have it so the version number increments on the previous number.
  4. (optional) UI/UX change to the field so that it is 3 fields for each number instead of 1 field - http://bigbite.im/i/gNDeta (crude mock up)
@johnmunster johnmunster added the enhancement New feature or request label Jan 3, 2024
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

1 participant