How to use the tbump.bump_files function in tbump

To help you get started, we’ve selected a few tbump examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github TankerHQ / sdk-js / ci / deploy.py View on Github external
def deploy_sdk(env, git_tag):
    version = version_from_git_tag(git_tag)

    tbump.bump_files(version)

    # Publish packages in order so that dependencies don't break during deploy
    configs = [
      { "build": "crypto", "publish": ["@tanker/crypto"] },
      {
        "build": "datastores",
        "publish": [
          "@tanker/datastore-base",
          "@tanker/datastore-dexie-browser",
          "@tanker/datastore-pouchdb-base",
          "@tanker/datastore-pouchdb-memory",
          "@tanker/datastore-pouchdb-node"
        ]
      },
      { "build": "core", "publish": ["@tanker/core"] },
      { "build": "client-browser", "publish": ["@tanker/client-browser"] },