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 @@ -34,17 +34,18 @@ Usage: $(basename $0) [-release|--release ..] [-rc|--rc ] [-final|--final] - [-snapshot|--snapshot ] + [-git-ref|--git-ref ] Flags: -release | --release .. The version number of the release -rc | --rc The release candidate number -final | --final When provided, this option will disable the rc flag - -snapshot | --snapshot (optional) Use to determine the release and don't export the test-suite files + -git-ref | --git-ref (optional) Use to determine the release and don't export the test-suite files -These are the filenames (with ) for the artifacts and hard -links for each LLVM component created by this script: +The following list shows the filenames (with ) for the artifacts and +hard links for each LLVM component created by this script. Notice, the hard links +are only created when you give --snapshot . $(\ echo "$projects " \ @@ -75,12 +76,6 @@ export_sources() { tag="llvmorg-$release" - if [ "$rc" = "final" ]; then - rc="" - else - tag="$tag-$rc" - fi - llvm_src_dir=$(readlink -f $(dirname "$(readlink -f "$0")")/../../..) [ -d $llvm_src_dir/.git ] || ( echo "No git repository at $llvm_src_dir" ; exit 1 ) @@ -151,7 +146,7 @@ -final | --final ) rc="final" ;; - -snapshot | --snapshot ) + -git-ref | --git-ref ) shift snapshot="$1" ;;