#!/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. # #===------------------------------------------------------------------------===# set -e projects="llvm bolt clang cmake compiler-rt libcxx libcxxabi libclc clang-tools-extra polly lldb lld openmp libunwind mlir flang runtimes third-party" release="" rc="" yyyymmdd=$(date +'%Y%m%d') snapshot="" template='${PROJECT}-${RELEASE}${RC}.src.tar.xz' usage() { cat <..] [-rc|--rc ] [-final|--final] [-git-ref|--git-ref ] [-template|--template