From db9b2e94ac4e446884d9d8ed0fba32b571235f7e Mon Sep 17 00:00:00 2001 From: Andy Davidoff Date: Thu, 19 Dec 2019 17:18:41 -0500 Subject: [PATCH] 1.8.18: fix tagging in nimph --- bump.nimble | 2 +- docs/bump.html | 29 ++++++++++------------------- 2 files changed, 11 insertions(+), 20 deletions(-) diff --git a/bump.nimble b/bump.nimble index afa46d7..f6464d8 100644 --- a/bump.nimble +++ b/bump.nimble @@ -1,4 +1,4 @@ -version = "1.8.17" +version = "1.8.18" author = "disruptek" description = "a tiny tool to bump nimble versions" license = "MIT" diff --git a/docs/bump.html b/docs/bump.html index 1553f7d..e4a55ab 100644 --- a/docs/bump.html +++ b/docs/bump.html @@ -856,10 +856,6 @@

bump

title="createTemporaryFile(prefix: string; suffix: string): string">createTemporaryFile
  • isValidVersion
  • -
  • `>`Version
  • -
  • `==`Version
  • parseVersionVersion
  • bump title="taggedAs(version: Version; tagList: string): Option[string]">taggedAsVersion
  • allTagsAppearToStartWithV
  • +
  • pluckVAndDot
  • composeTagVersion
  • Procs true if the version seems legit - - -
    proc `>`(a, b: Version): bool {...}{.inline, raises: [], tags: [].}
    -
    - - - -
    - -
    proc `==`(a, b: Version): bool {...}{.inline, raises: [], tags: [].}
    -
    - - -
    proc parseVersion(nimble: string): Option[Version] {...}{.raises: [], tags: [].}
    @@ -1109,6 +1093,13 @@

    Procs

    try to determine if all of this project's tags start with a v + + +
    proc pluckVAndDot(input: string): string {...}{.raises: [], tags: [].}
    +
    + +return any V or v prefix, perhaps with an existing . +
    proc composeTag(last: Version; next: Version; v = false; tags = ""): Option[string] {...}{.raises: [
    @@ -1152,7 +1143,7 @@ 

    Procs