asdf/test/fixtures/dummy_plugin/bin/get-version-from-legacy-file
2017-09-04 10:09:47 -04: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"