asdf/test/fixtures/dummy_legacy_plugin/bin/get-version-from-legacy-file
2020-03-06 19:13:53 -05:00

13 lines
209 B
Bash
Executable File

#!/usr/bin/env bash
get_legacy_version() {
current_directory=$1
version_file="$current_directory/.dummy-version"
if [ -f "$version_file" ]; then
cat "$version_file"
fi
}
get_legacy_version "$1"