set tag
This commit is contained in:
parent
601ff195ff
commit
21c4c64cde
@ -4,6 +4,13 @@ temp_name=$(head -c 20 /dev/random | xxd -p | tr -dc a-f0-9)
|
||||
temp_dir="/tmp/${temp_name}"
|
||||
chrome_dir="${temp_dir}/chrome"
|
||||
|
||||
if [[ ! -n "${DRONE_TAG}" ]]
|
||||
then
|
||||
export DRONE_TAG=$(git describe --abbrev=0 | tr -dc v0-9)
|
||||
fi
|
||||
|
||||
rm "${dir}/out"
|
||||
|
||||
mkdir -p "${temp_dir}/out"
|
||||
mkdir -p "${chrome_dir}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user