Blame gen-name.sh

91875d
91875d
gen_name_template() {
91875d
    local NAME="$1"
91875d
    local TAG="$2"
91875d
    local PLATFORM="$3"
91875d
    local ARCH="$4"
eeeace
    local SUFFIX="$5"
850862
91875d
    if [ ! -z "$TAG" ]; then
91875d
        TAG="-$TAG"
91875d
    fi
850862
c248c7
    echo "$NAME-%VERSION%$TAG-%DATE%-$PLATFORM$ARCH-%COMMIT%$SUFFIX"
91875d
}