Commit ab78a86d authored by zhujiashun's avatar zhujiashun

fix_missing_brpc_version_in_release: change delimeter to '|'

parent 05272890
#!/bin/bash
output=$(cat $1/RELEASE_VERSION)
version=$(git log -1 --format="%h@%cI" 2> /dev/null)
version=$(git log -1 --format="%h\\|%cI" 2> /dev/null)
branch=$(git rev-parse --abbrev-ref HEAD 2> /dev/null)
if [ $? -eq 0 ]
then
output=$output-$branch/$version
output=$output"\\|"$branch"\\|"$version
fi
echo $output
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment