#!/bin/sh | |
# | |
# Copyright 2024 The ChromiumOS Authors | |
# 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; exit }' "$1/crdyboot/Cargo.toml" | tr -d '"' |