nbproject.dev.set_version#

nbproject.dev.set_version(version=None, stored_version=None)#

(Auto-) set version.

If None, bumps the version from “draft” to “1”, from “1” to “2”, etc. Otherwise sets the version to the passed version.

Parameters
  • version – Pass version string.

  • stored_version – Mock stored version for testing purposes.