diff options
author | Gruruya <gruruya.chi4c@slmails.com> | 2023-05-27 14:49:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-27 20:49:19 +0200 |
commit | d5ba14db619eb52cb97f66f37cd04a240d84223d (patch) | |
tree | 024162ac28beddaaee7211cf4fa42ac6f04f8a69 /lib | |
parent | 2dcc7195daab5964a68d7eb6edf897edc0cf2052 (diff) | |
download | Nim-d5ba14db619eb52cb97f66f37cd04a240d84223d.tar.gz |
Atlas: add `atlas tag` command (#21936)
* Initial structure, `GitTags` → `GitRefsTags` * Determine if we should use v prefix * get tag from latest tag, patch nimble file * Just do tags for now * atlas tag now tags and pushes * Improve UX of `atlas tag` * better description for `tag` * Small fixup * Consistent naming * strip after checking status * Take major/minor/patch as arg for `atlas tag` * undo testing comment * Fix for `v` prefixed versions * Avoid useless assignment * Remove uselss enum assignment * Consistent parameter seperation * Add error handling for non-semver tags * Use `assert` to quit on error * Update tools/atlas/atlas.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> * Don't push tags if errors occurred * Allow `atlas tag [tag]` again * Add atlas tag `a..z` for fields > 3 * Document the three input options * Take up less lines in help * Less or in help * One last doc pass * Check args length * clarify last tag * consistency/order --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions