lerna icon indicating copy to clipboard operation
lerna copied to clipboard

%s in version message doesn't get replace in prerelease

Open Klaasvaak opened this issue 9 months ago • 0 comments

Current Behavior

{
  "command": {
    "version": {
      "message": "chore(release): version %s"
    }
  }
}

Using this config and versioning a prerelease doesn't replace the %s It results in: chore(release): version %s

Expected Behavior

Actually replace the %s as is mentioned in the version command documentation

Environment

 Environment info:

  System:
    OS: macOS 15.4.1
    CPU: (14) arm64 Apple M4 Pro
  Binaries:
    Node: 22.14.0 - ~/.nvm/versions/node/v22.14.0/bin/node
    Yarn: 1.22.22 - ~/.nvm/versions/node/v22.14.0/bin/yarn
    npm: 10.9.2 - ~/.nvm/versions/node/v22.14.0/bin/npm
  Utilities:
    Git: 2.39.5 - /usr/bin/git
  npmPackages:
    lerna: ^8.2.2 => 8.2.2 

Klaasvaak avatar May 08 '25 09:05 Klaasvaak