Ignore:
Timestamp:
Nov 14, 2012, 12:59:34 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to 3.6.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/release-scripts/create-tarball

    r427 r740  
    44OPT_BRANCH=""
    55OPT_DOCSDIR=""
    6 OPT_TAG=""
    76OPT_KEYID=""
    87
     
    3332    echo "    --branch <name>    Specify the branch to to create the archive file from"
    3433    echo "    --copy-docs <dir>  Copy documentation from <dir> rather than building"
    35     echo "    --tag <name>       Tag name for release"
    3634    echo "    --keyid <email>    The GnuPG key ID used to sign the release tag"
    3735    echo ""
     
    6866                shift
    6967                ;;
    70             --tag)
    71                 shift
    72                 if [ -z "$1" ]; then
    73                     printUsage
    74                     return 1
    75                 fi
    76                 OPT_TAG="$1"
    77                 shift
    78                 ;;
    7968            --keyid)
    8069                shift
     
    10190
    10291##
    103 ## Build the dopcumentation (may be a no-op)
     92## Build the documentation (may be a no-op)
    10493##
    10594
     
    146135function createReleaseTag
    147136{
    148     if [ -z "${OPT_TAG}" ]; then
    149         echo "Tagging disabled"
    150         return 0
    151     fi
    152 
    153     if [ "x`git tag -l ${OPT_TAG}`" != "x" ]; then
    154         echo -n "Tag exists.  Do you wish to overwrite? (y/N): "
     137    tagname="$1"
     138
     139    if [ "x`git tag -l ${tagname}`" != "x" ]; then
     140        echo -n "Tag '${tagname}' exists.  Do you wish to overwrite? (y/N): "
    155141        read answer
    156142
     
    169155    fi
    170156
    171     git tag -u ${OPT_KEYID} ${OPT_TAG}
    172     exitOnError $? "Failed to create tag"
     157    git tag -u ${OPT_KEYID} ${tagname}
     158    exitOnError $? "Failed to create tag '${tagname}'"
    173159
    174160    return 0
     
    214200    # the DFSG)
    215201
    216     #if [ -d source4 ]; then
    217     #   echo "Removing RFCs"
    218     #   find source4/ -name "rfc*.txt" -exec rm -f {} \;
    219     #fi
     202    if [ -d source4 ]; then
     203        echo "Removing RFCs"
     204        find source4/ -name "rfc*.txt" -exec /bin/rm -f {} \;
     205        /bin/rm -f source4/ldap_server/devdocs/draft-armijo-ldap-syntax-00.txt
     206        /bin/rm -f source4/ldap_server/devdocs/ldapext-ldapv3-vlv-04.txt
     207    fi
     208
     209    /bin/rm -f Makefile configure configure.developer
    220210
    221211    packaging/bin/update-pkginfo ${version} 1 ""
     
    238228    popd
    239229
    240     createReleaseTag
     230    createReleaseTag "samba-${version}"
    241231    exitOnError $? "Failed to create release tag"
    242232
Note: See TracChangeset for help on using the changeset viewer.