#!/bin/bash
#===-- tag.sh - Tag the LLVM release candidates ----------------------------===#
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===------------------------------------------------------------------------===#
#
# Create branches and release candidates for the LLVM release.
#
#===------------------------------------------------------------------------===#
projects="llvm clang cmake compiler-rt libcxx libcxxabi libclc clang-tools-extra polly lldb lld openmp libunwind flang"
release=""
rc=""
yyyymmdd=
snapshot=""
template='${PROJECT}-${RELEASE}${RC}.src.tar.xz'
while [; do
case in
-release | --release )
release=
;;
-rc | --rc )
rc="rc"
;;
-final | --final )
rc="final"
;;
-git-ref | --git-ref )
snapshot=""
;;
-template | --template )
template=""
;;
-h | -help | --help )
;;
* )
;;
esac
done
if [; then
if ; then
fi
elif [; then
fi
# Make sure umask is not overly restrictive.