Commit 9409663c authored by Guillaume Tucker's avatar Guillaume Tucker

HACK add to create kernelci-local-snapshot-xxx tags

Signed-off-by: Guillaume Tucker's avatarGuillaume Tucker <>
parent 3f1266ec
set -e
last_tag=$(git tag -l | grep $px | sort | tail -n 1)
n=$(echo $last_tag | awk '{print substr($0,25)}')
let 'n=n+1'
m=`printf "%03d" $n`
today=`date +%Y-%m-%d`
msg="KernelCI local snapshot #$m $today"
git tag -a "$new_tag" -m "$msg"
echo "$new_tag"
exit 0
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