Add the ability to directly set version parts.
PR Validation / Unit Tests (pull_request) Successful in 15s

- Move unittests to a dedicated file.
- Rework CLI making version part selection an option that can be passed
  into many commands.
- Add support for updates to version constants defined in soruce files.
This commit was merged in pull request #2.
This commit is contained in:
Jonathan Bernard
2025-06-17 20:50:33 -05:00
parent 833fc35adf
commit 8f71630e78
4 changed files with 219 additions and 74 deletions
+2 -2
View File
@@ -26,9 +26,9 @@ jobs:
- name: Build unittests
run: |
printf "🔨\033[0;32m Compiling unit tests...\033[0m\n" >&1
nimble build
nimble c tupdate_version.nim
- name: Run unittests
run: |
printf "🧪\033[0;32m Running unit tests...\033[0m\n" >&1
./update_version test
./tupdate_version