diff --git a/llvm/utils/release/export.sh b/llvm/utils/release/export.sh --- a/llvm/utils/release/export.sh +++ b/llvm/utils/release/export.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash #===-- tag.sh - Tag the LLVM release candidates ----------------------------===# # # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. @@ -17,18 +17,76 @@ release="" rc="" +yyyymmdd=$(date +'%Y%m%d') +snapshot="" +template='${PROJECT}-${RELEASE}${RC}.src.tar.xz' usage() { - echo "Export the Git sources and build tarballs from them" - echo "usage: `basename $0`" - echo " " - echo " -release The version number of the release" - echo " -rc The release candidate number" - echo " -final The final tag" +cat <..] + [-rc|--rc ] + [-final|--final] + [-git-ref|--git-ref ] + [-template|--template