KF5 Tags tag tags, not objects

David Faure faure at kde.org
Mon Apr 25 06:31:23 UTC 2016


On Sunday 24 April 2016 13:54:02 Stephen Kelly wrote:
> 
> Why doesn't v5.21.0 tag the d2e7c78c94e6 commit directly instead?

Don't know.

I just call git tag, then git does its magic.

cat $here/modules.git | while read repo branch; do
    echo $repo
    . $here/version
    tagname=v$version
    versionfile=$here/versions/$repo
    if [ ! -f $versionfile ]; then echo "$versionfile not found"; exit 1; fi
    b=`sed '2q;d' $versionfile`
    echo $b
    checkout=$(findCheckout $repo)
    cd $checkout || exit 2
    echo $PWD
    $cmd git fetch --tags || exit 2
    $cmd git tag -a $tagname $b -m "Create tag for $version"  # ignore error ("already exists")
    $cmd git push --tags || exit 5
done

A previous script (make_rc_tag.sh) tagged rc similarly, in that same checkout.

You can see it all in the release-tools.git repo, branch frameworks/5.0

Why is this an actual problem btw?

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5



More information about the Kde-frameworks-devel mailing list