def get_stackstorm_version():
 if (('dev' in stackstorm_version) and (stackstorm_version.count('.') == 1)):
  version = stackstorm_version.replace('dev', '.0')
  return version
 return stackstorm_version

def get_stackstorm_version ( ) : if ( ( 'dev' in stackstorm_version ) and ( stackstorm_version . count ( '.' ) == 1 ) ) : version = stackstorm_version . replace ( 'dev' , '.0' ) return version return stackstorm_version
return a valid semver version string for the currently running stackstorm version .