def get_current_version_name():
 return os.environ['CURRENT_VERSION_ID'].split('.')[0]

def get_current_version_name ( ) : return os . environ [ 'CURRENT_VERSION_ID' ] . split ( '.' ) [ 0 ]
returns the version of the current instance .