inkstitch/bin/generate-version-file

11 wiersze
165 B
Bash
Executable File

#!/bin/bash
VERSION="${GITHUB_REF##*/}"
OS="${BUILD:-$(uname)}"
if [[ "$VERSION" == "" ]]; then
VERSION="Manual Install"
fi
echo "${VERSION} (${OS})" > VERSION