Skip to content
Snippets Groups Projects
Unverified Commit 4ead106f authored by Hasan Awad's avatar Hasan Awad Committed by GitHub
Browse files

feat(util/template): add prettyNewMajor and prettyNewVersion field (#16831)


* initial

* expose prettyNewVersion and prettyNewMajor

* tests

* revert change

* simplify

* test naming

* documentation

* documentation

* remove wrong documentation

* expose template finction

* tests naming

* combine condition

* Update docs/usage/templates.md

Co-authored-by: default avatarMichael Kriese <michael.kriese@visualon.de>

* remove unecessary nullish op

* Update docs/usage/templates.md

Co-authored-by: default avatarHonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Expose prettyVersion and prettyMajor

* documentation

* remove function and use regex

* lexographic order

* tests need fixing

* add tests

* Captial letter

* renaming and prettyNewMajor

* space

* move to upgrade interface

* use new fields where v is prepended manually

* move to interface

Co-authored-by: default avatarMichael Kriese <michael.kriese@visualon.de>
Co-authored-by: default avatarHonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: default avatarRhys Arkins <rhys@arkins.net>
parent 1111b322
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment