blob: 876173c8abf76069662b36e996ceb20bcddea36e [file] [log] [blame]
#!/bin/sh
#
# Copyright 2022 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# This script is given one argument: the base of the source directory of
# the package, and it prints a string on stdout with the numerical version
# number for said repo.
exec sed -e 's/devel/pre/g' -e 's/-/_/g' "$1/VERSION"