blob: fa102e7c557f0f60b8c8ac53c240d7abb7a52840 [file] [log] [blame]
#!/bin/sh
#
# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Assumes the first 'version =' line in the Cargo.toml is the version for the
# crate.
awk '/^version = / { print $3 }' "$1/vm_tools/p9/Cargo.toml" | head -n1 | tr -d '"'