You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: release-commit.rb
    path of file: ./repos/vector/scripts
    
    the code of the file until where you have to start completion: #!/usr/bin/env ruby

# release-commit.rb
#
# SUMMARY
#
#   Commits and tags the pending release

#
# Setup
#

require "json"
require_relative 
    
def bump_cargo_version(version)
  # Cargo.toml
  content = File.read("#{ROOT_DIR}/Cargo.toml")
  new_content = bump_version(content, version)
  File.write("#{ROOT_DIR}/Cargo.toml", new_content)

  # Cargo.lock
  content = File.read("#{ROOT_DIR}/Cargo.lock")
  new_content = bump_version(content, version)
  File.write("#{ROOT_DIR}/Cargo.lock", new_content)
end